Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I Populate combo using XML file

Status
Not open for further replies.

essa2000

Programmer
Dec 6, 2000
299
CA
Dears ;

I want to populate combo using my XML file. Let suppose , I do query to SQL Server using FOR XML and I get XML file and now I want to populate my combo using that XML file which has only two values e.g. CustomerID and CustomerName.

Thanks.


Muhammad Essa Mughal
Software Engineer
iLogic Inc.
 
you could use dataset.ReadXML() to read the xml into a table and then bind it to the combo box as one would normally do.

Scott
Programmer Analyst
<{{><
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top