User61956409 posted
Hi shsu,
when I run the form ,it is showing as system.data.datarowview in the dropdownlist. Appreciate the Help
Please try to specify the DataValueField and DataTextField of your DropDownList control, like below.
select ISO_CODE||'-'||SHORT_NAME as codewithname from country_master
DropDownList1.DataSource = tb
DropDownList1.DataValueField = "codewithname"
DropDownList1.DataTextField = "codewithname"
DropDownList1.DataBind()
With Regards,
Fei Han