SqlConnection cnn = new SqlConnection(); cnn.ConnectionString = strconnectionstring; cnn.Open(); SqlCommand cmd = new SqlCommand(); cmd.Connection = cnn; cmd.CommandType = CommandType.Text; cmd.CommandText = "update measurementunit measurement=@measurment, mucode =@mucode"; SqlParameter p1 = new SqlParameter("@measurment", txtmu.Text); SqlParameter p2 = new SqlParameter("@mucode", txtmucode.Text); cnn.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)