sary_mohamed wrote:
i have another question (sorry)
how to assign the sql server database filds to combo boxes not data grid
i want to display it in text boxes not data grid
advance
Don't be sorry, I think it's a good place to ask questions. Something like this would add items to a combobox;
comboBox1.BeginUpdate();
for (int i = 0; i < 200; i++)
{
comboBox1.Items.Add(i.ToString());
}
comboBox1.EndUpdate();
You could hook that up with the datareader. I think that databinding could be an option too, but I'm not sure on that.