S sensitive New Member Jan 21, 2013 #1 SqlCommand search = new SqlCommand("select * from emp where EmpId = " + TextBox1.Text;