分类：电脑/网络-互联网
问题：那位老兄,帮我把我的存储过程简化一下 
回答：string connStr0 = ConfigurationManager.ConnectionStrings["Conn"].ToString(); SqlConnection myConn = new SqlConnection(); myConn.ConnectionString = connStr0; myCommand.CommandType = CommandType.StoredProcedure;myCommand.Parameters.AddWithValue("@Accounts", TextBox3.Text.ToString());myCommand.Parameters.AddWithValue("@Name", TextBox6.Text.ToString());...myCommand.Parameters.AddWithValue("@an2", TextBox14.Text.ToString());myCommand.ExecuteNonQuery();