public void FillCmbo(String Sql, ComboBox cmb, String name, String id)
{
try
{
if (Con.State == ConnectionState.Open)
Con.Close();
Con.Open();
OleDbDataAdapter Ada = new OleDbDataAdapter(Sql, Con);
DataTable Dte = new DataTable();
Ada.Fill(Dte);
DataRow Drw;
Drw = Dte.NewRow();
Drw.ItemArray = new object[] { 0, "<----Select---->" };
Dte.Rows.InsertAt(Drw, 0);
cmb.DisplayMember =name;
cmb.ValueMember = id;
cmb.DataSource = Dte;
}
catch (System.Exception ex)
{
MessageBox.Show(ex.Message, "Check", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
/................you can also use
ComboBox.selectIndex=0;