|
SqlConnection conn = new SqlConnection (ConfigurationSettings.AppSettings ["CrmSqlConnect"]);
SqlCommand cmd = new SqlCommand ();
cmd.Connection = conn;
conn.Open ();
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "p_corp_list_editresultcx";
cmd.Parameters.Add ("@ faid", SqlDbType.NVarChar) .Value = faid;
cmd.Parameters.Add ("@ bjid", SqlDbType.NVarChar) .Value = bjid;
cmd.Parameters.Add ("@ xsid", SqlDbType.NVarChar) .Value = xsid;
cmd.Parameters.Add ("@ error", SqlDbType.NVarChar) .Value = error;
cmd.ExecuteNonQuery (); |
|