Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
 

Tip: Retrieving Data from a Deleted row in a Dataset

Retrieve the information of a deleted row in a dataset, with the overloaded property of DataRow object.


advertisement

You would get the 'DeletedRowInaccessibleException' when you try to access a deleted row in a dataset.

To retrieve the information of a deleted row in a dataset, use the overloaded property of DataRow object.

So instead of deletedRow[columnname], use deletedRow[columnname, DataRowVersion.Original].



 

Visit the DevX Tip Bank

 



   
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date