S
Sudhir Sharma via .NET 247
Hi Guys,
I Have some strange problem while adding items to the Combo Box.it shows "System.Data.DataRow" as diplay Memeber. I am gettingdata into a DataTable from Database through query "SeelctSource,SourceID from SourceTable" and setting Valuemember as"SourceID" and Display member as "Source" of combobox throughVB.NET Designer.
then I am adding data to Combo box through a loop for thatDatatbale because I have to add a Blank row first ..like..
combobox.items.add("")
for i=0 to dt.rows.count-1
ComboBox.items.add(dt.rows(i))
Next
after that. I see three rows in ComboBox with display member as"System.Data.DataRow"
Any help appreciated.
Thanks in Advance
Sudhir
I Have some strange problem while adding items to the Combo Box.it shows "System.Data.DataRow" as diplay Memeber. I am gettingdata into a DataTable from Database through query "SeelctSource,SourceID from SourceTable" and setting Valuemember as"SourceID" and Display member as "Source" of combobox throughVB.NET Designer.
then I am adding data to Combo box through a loop for thatDatatbale because I have to add a Blank row first ..like..
combobox.items.add("")
for i=0 to dt.rows.count-1
ComboBox.items.add(dt.rows(i))
Next
after that. I see three rows in ComboBox with display member as"System.Data.DataRow"
Any help appreciated.
Thanks in Advance
Sudhir