I am using sql server for database and visual studio for inserting data in a table but i want the entered entries to be changed into uppercase before entry in database. which syntax to use for that.
Tell me what changes I can make in this statement:
SqlCommand cmd = new SqlCommand("insert into student values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "')", con);
Use
String.ToUpper();some thing like this