Try following:
private void comboBox2_TextChanged(object sender, EventArgs e)
{
SendKeys.Send("{END}");
SqlConnection con = new SqlConnection();
con.ConnectionString = Global.constr;
con.Open();
SqlCommand cmd = new SqlCommand("select itemCode from ItemDetails where
ItemCode like '" + comboBox2.Text + "%'
order by ItemCode", con);
SqlDataReader dr = cmd.ExecuteReader();
comboBox2.Items.Clear();
while (dr.Read())
{
comboBox2.Items.Add(dr[0].ToString());
}
dr.Close();
con.Close();
}