21-12-15, 02:27 PM
جرب وخبرني
كود :
SqlDataAdapter daa = new SqlDataAdapter(@"loadc_combo",cnn);
daa.SelectCommand.CommandType =CommandType.StoredProcedure;
DataTable dtt = new DataTable();
daa.Fill(dtt);
comboBox1.Items.AddRange((from DataRow r in dtt.Rows select r[0]).ToArray());