Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the page life cycle events?

913


Difference between DataGid and Girdview? Difference b/w .Net 2.0, 3.0 and 3.5 ? Diff b/w dispose & Finialize Methods?

2476


how to write html code with ssl

2120


Which object encapsulates state or data of a user?

1069


What is sql data source control in asp.net?

1061


What is asp according to you?

1041


Can we have multiple web config files for an asp.net application?

982


Explain the various authentication mechanisms in asp.net.

992


Which dll handles the request of .aspx page?

968


How does session id work?

900


How to use push notification?

1040


Explain serialization and deserialization?

1026


What is the difference between mechine.config and web.config?

1229


What is difference between Server.Transfer and Response.Redirect in ASP.NET?

1089


What is the difference between Session and response.Redirect?

1131