good indeed, there lot of ways to fill a combobox with sql data,
also combobox.DataSource = (DataSet,Datable,etc)
also with SqlDataReader:
cm = new SqlCommand("Select ...");
SqlDataReader dr = cm.ExecuteReader();
while(dr.Read())
{ comboBox.Items.Add(dr[0]); }
tenacious1884 3 months ago
@tenacious1884 Thanks!
ignatandrei1970 3 months ago
Buy a microphone!
scotto330 10 months ago
thanks very good code
virusjosue 10 months ago
can i have your source code?
fifamaniac04 10 months ago
Excellent tutorial :)
thx! ^^,)
dits05 1 year ago
How to filled combobox using DataReader??..
umlarmy 2 years ago
Just declare it ?!
I do not understand the question....
ignatandrei1970 2 years ago
and how i declare SqlConnection??
takeno2510 2 years ago
using system.data.sqlclient;
Declare it near the initialization....AT top
chityalabhavesh 1 year ago
good indeed, there lot of ways to fill a combobox with sql data,
also combobox.DataSource = (DataSet,Datable,etc)
also with SqlDataReader:
cm = new SqlCommand("Select ...");
SqlDataReader dr = cm.ExecuteReader();
while(dr.Read())
{ comboBox.Items.Add(dr[0]); }
tenacious1884 3 months ago
@tenacious1884 Thanks!
ignatandrei1970 3 months ago
Buy a microphone!
scotto330 10 months ago
thanks very good code
virusjosue 10 months ago
thanks very good code
virusjosue 10 months ago
can i have your source code?
fifamaniac04 10 months ago
Excellent tutorial :)
thx! ^^,)
dits05 1 year ago
How to filled combobox using DataReader??..
umlarmy 2 years ago
Just declare it ?!
I do not understand the question....
ignatandrei1970 2 years ago
and how i declare SqlConnection??
takeno2510 2 years ago
using system.data.sqlclient;
Declare it near the initialization....AT top
chityalabhavesh 1 year ago