Dim dt1 As DataTable
dt = General_fuction.RecordSearch("select * from Department ", "party")
Dim row As DataRow
cmbdeptyname.Items.Clear()
For Each row In dt.Rows
For i = 0 To dt.Rows.Count
cmbdeptyname.Items.Add(row(i).ToString())
Exit For
Next
Next
This is simple code in vb.net show dropdown list item.