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 best practices to follow to secure connection strings in an ASP.NET web application?

1017


What are the new data controls in asp.net 2.0?

918


How do I open an ashx file?

1015


What is state management in asp.net with example?

905


What do you mean by marshalbyref?

1047


What is web api and why to use it?

1006


Explain Authentication mechanism in dotnet

1003


What is the difference between file-based dependency and key-based dependency?

1021


What is sql data source control in asp.net?

1012


Can we use a static function with a non-static variable?

933


What is Web API Routing?

1111


What is a response cookie?

1069


Name the tools or API for developing or testing web api?

917


What is difference between ispostback and autopostback in asp net?

971


What is a multilingual website?

955