|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Fetching data from a datagridHi Guys,
I have a datagrid which is binded to dataset which is gettting data from xml. Now i need to know if i edit or add data to the datagrid, whats the best possible way to fetch it? .. i need to fetch the data and put it in another xml file to update. Thanks in adv guys Ameen,
When the user changes data in the datagrid, the data in the underlying datatable is changed. You should be able to use the datatable's or dataset's WriteXML method to save the changed data to a file. Kerry Moorman Show quoteHide quote "ameen.abdul***@gmail.com" wrote: > Hi Guys, > > I have a datagrid which is binded to dataset which is gettting data > from xml. Now i need to know if i edit or add data to the datagrid, > whats the best possible way to fetch it? .. i need to fetch the data > and put it in another xml file to update. > > Thanks in adv guys > > Thanks Kerry for the reply. After readin it, i tried to do this
Dim mIOStream As Stream mDScolumns.WriteXml(mIOStream) Dim x As XmlDocument x.Load(mIOStream) MsgBox(x.InnerXml) but got null exception :( Kerry Moorman wrote: Show quoteHide quote > Ameen, > > When the user changes data in the datagrid, the data in the underlying > datatable is changed. > > You should be able to use the datatable's or dataset's WriteXML method to > save the changed data to a file. > > Kerry Moorman > > > "ameen.abdul***@gmail.com" wrote: > > > Hi Guys, > > > > I have a datagrid which is binded to dataset which is gettting data > > from xml. Now i need to know if i edit or add data to the datagrid, > > whats the best possible way to fetch it? .. i need to fetch the data > > and put it in another xml file to update. > > > > Thanks in adv guys > > > >
dim differences
how to make my own classes show their methods and/or variables while typing? SendKeys problem when using Non-English Windows keyboard layouts Killing a Process if no App. ADO.NET dataset limit Q: Vb.net serial port help GDI+ Graphics Dump VB Module functions not available in 2005 Can you send a "Get" request through a browser? Q: Vb.net serial port help |
|||||||||||||||||||||||