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

Answers were Sorted based on User's Feedback



how can you bind data from dataset to XML file..

Answer / 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

how can you bind data from dataset to XML file..

Answer / sri charan

i think question is wrong.

binding means process between control and data objects. here
in this question both dataset and xml file are data object.
then how can we bind them..????

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

To redirect the user to another page which method do we use without performing a round trip to the client?

0 Answers   Siebel,


asp.net page is a object or not?

5 Answers  


There is a login page that has two text boxes with required field validators on it. The page has a login and cancel button. How can we ensure that the click on the cancel button doesnt fire a validation event.

2 Answers   Proteans,


What are different types of directives in .NET ?

1 Answers  


Define web.config in .net?

0 Answers  


Explain the life cycle of an ASP .NET page.

2 Answers  


Can you set the session out time manually?

0 Answers  


Define repository pattern in asp.net mvc? : asp.net mvc

0 Answers  


What are the best practices to follow to secure connection strings in an ASP.NET web application?

0 Answers   MCN Solutions,


How do you retrieve information from web.config ?

5 Answers   MMTS,


What is advantage of viewstate and what are benefits ?

1 Answers  


Explain the significance of routing? : asp.net mvc

0 Answers  


Categories