SqlConnection myconn;
myconn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=" + Server.MapPath("~\\App_Data\\bhaddal.mdf") + " ;Integrated Security=True;User Instance=True");
myconn.Open();
SqlConnection myConn = new SqlConnection(myconn.ConnectionString);
s= WebConfigurationManager.ConnectionStrings["DatabaseConnectionString"].ConnectionString;
myconn = new SqlConnection(s);
myconn.Open();
cmd = new SqlCommand("update Employee set first='" + TextBox1.Text+ "', secound='" + TextBox2 + "', third='" + TextBox3.Text + "', fourth='" + TextBox5.Text + "', fifth='" + "' rollno='" + TextBox1.Text + "'", myconn);
cmd.ExecuteNonQuery();
clearData();