C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |



My Profile

Gifts

Active Members
TodayLast 7 Days more...







Read and Apply XML(Diffgram) file on a DataSet


Posted Date: 23 Apr 2007    Resource Type: Code Snippets    Category: ADO.NET

Posted By: Balamurali Balaji       Member Level: Diamond
Rating:     Points: 10



This code reads an XML data(with Diffgram) and apply the changes to the dataset. The RejectChanges
method is called to reject the changes made in the dataset and reset the column values to the original values.



dataSet11.ReadXml(@"c:\bala.xml", System.Data.XmlReadMode.DiffGram);
dataSet11.RejectChanges();
dataGrid1.DataSource = dataSet11;
dataGrid1.DataMember = "authors";






Responses


No responses found. Be the first to respond and make money from revenue sharing program.

Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: Store the changes in the dataset as XML Diffgram
Previous Resource: Execute multiple Select statements using SqlCommand object
Return to Discussion Resource Index
Post New Resource
Category: ADO.NET


Post resources and earn money!
 
Related Resources



dotNet Slackers   BizTalk Adaptors    Web Design

Help Desk

Contact Us    Privacy Policy    Terms Of Use