|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How set datasource of combobox to xml fileI have an XML file.
In VB.NET 2005 is there any easy way to set the datasource of the combobox to this xml file without using code? Thanks! hi,
you can do this by using DataSet's "ReadXml" Property. what you need to do is create a compitible XML file for DataSet. i assumed that your XML file is compitible to get load in DataSet. use your DataSet object assigned to ComboBox to load the XML file by passing the filename to it's Property "ReadXml". i hope this helps. Lucky hi,
you can do this by using DataSet's "ReadXml" Property. what you need to do is create a compitible XML file for DataSet. i assumed that your XML file is compitible to get load in DataSet. use your DataSet object assigned to ComboBox to load the XML file by passing the filename to it's Property "ReadXml". i hope this helps. Lucky Thanks. I'll give it a try....
Show quoteHide quote "Lucky" <tushar.n.pa***@gmail.com> wrote in message news:1136789569.551018.101260@g47g2000cwa.googlegroups.com... > hi, > you can do this by using DataSet's "ReadXml" Property. what you need > to do is create a compitible XML file for DataSet. i assumed that your > XML file is compitible to get load in DataSet. > > use your DataSet object assigned to ComboBox to load the XML file by > passing the filename to it's Property "ReadXml". > > i hope this helps. > > Lucky > |
|||||||||||||||||||||||