how can you bind data from dataset to XML file
Answer Posted / pguthi
Declare a data set ds=new dataset();
create an xml file in your working folder.
ds.WriteXmlSchema("here u enter ur xml file path") // this
will write ur table data in xml format like nodes in your
xml file.
ds.ReadXml("here u enter ur xml file path") // this will
read the data from your xml file.
hope it will help u.
| Is This Answer Correct ? | 14 Yes | 3 No |
Post New Answer View All Answers
What are the best practices to follow to secure connection strings in an ASP.NET web application?
What are the new data controls in asp.net 2.0?
How do I open an ashx file?
What is state management in asp.net with example?
What do you mean by marshalbyref?
What is web api and why to use it?
Explain Authentication mechanism in dotnet
What is the difference between file-based dependency and key-based dependency?
What is sql data source control in asp.net?
Can we use a static function with a non-static variable?
What is Web API Routing?
What is a response cookie?
Name the tools or API for developing or testing web api?
What is difference between ispostback and autopostback in asp net?
What is a multilingual website?