It shows that you are unregistered. Please register with us by clicking Here
![]() |
|
![]() |
![]() | Register - FAQ - Today's Posts - New Posts - Support - Search | ![]() |
|
|
#1 (permalink) |
|
Junior Member
Join Date: Jul 2006
Age: 48
Posts: 25
|
Absolutely. In fact, when the dataset is traveling from the server to the client and back, it's first transformed into XML. This allows it to move data into place that normally wouldn't be accessible, such as behind restricted firewalls, which are designed to stop unauthorized data. Beacuse XML is plan text, firewalls ignore it and allow it through
|
|
|
|
|
|
|
|
#3 (permalink) |
|
Member
Join Date: Jul 2006
Age: 28
Posts: 61
|
In the ADO.NET environment, XML plays a major role behind the scenes to organize data. When a dataset receives data from a database, it actually receives XML-based content. Likewise, if a data set updates its contents, it returns the new contents back to the database using XML. ADO.NET and XML go hand in hand; XML is used to represent structured data. ADO.NET uses XML to pass data between the server and client. The use of a dataset or XML to bind data to the grid depends actually from your source. If the data comes directly from a database, a dataset is definitely your choice. If the data comes from an XML file, you will still need to convert the XML to bind it to the grid as your source (because there is no direct link of an XML as your datasource)
Heres as example of binding an xml file to a datagrid: Dim myDataSet as New DataSet() myDataSet.ReadXml(Server.MapPath("books.xml")) dgBooks.DataSource = myDataSet dgBooks.DataBind() |
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The Data Protection Act | hailey | General Business Issues | 1 | 07-20-2006 08:48 PM |
| Sites Using ODP Data | alexa | All Other SE's & Directories | 0 | 07-11-2006 05:41 PM |
| Data Entry Marketing | logan | Marketing | 0 | 06-29-2006 06:17 PM |
| Hold On | Dummy101 | Home Base | 9 | 09-17-2005 04:32 AM |