Ok.. I have no problems binding from a sql database to a control in asp.net, this time however i want to be do it in a win32 exe but i keep on running into brick walls.
In Asp.Net id use something like
adapter.Fill(ds,"Ctype")
DropDownList1.DataSource = ds.Tables("Ctype").Default
View
DropDownList1.DataTextFiel
d = "Ctype"
DropDownList1.DataValueFie
ld = "ID"
DropDownList1.DataBind()
Trying the same thing with a combobox doesnt work, as databind apparently isnt a member of the combobox (or any other controls ive looked at)
Help, or code snippets to do the same job would be appreciated.
Jaz
Start Free Trial