public void idTut()
{
comboBox1.Text = "";
comboBox1.Items.Clear();
SqlCommand com = new SqlCommand("select * from profil", db.dbConnect());
db.dbConnect();
SqlDataReader dr = com.ExecuteReader();
while (dr.Read())
{
li.Add(Convert.ToInt32(dr["id"]));
comboBox1.Items.Add(dr["adi"].ToString());
}
db.dbClose();
}