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 page life cycle events?
Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?
how to write html code with ssl
Which object encapsulates state or data of a user?
What is sql data source control in asp.net?
What is asp according to you?
Can we have multiple web config files for an asp.net application?
Explain the various authentication mechanisms in asp.net.
Which dll handles the request of .aspx page?
How does session id work?
How to use push notification?
Explain serialization and deserialization?
What is the difference between mechine.config and web.config?
What is difference between Server.Transfer and Response.Redirect in ASP.NET?
What is the difference between Session and response.Redirect?