/ Published in: C#

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
using System.Data; using System.Data.SqlClient; if (sqlConn.State == System.Data.ConnectionState.Closed) _sqlConn.Conn; bool suc = false; insertRow.CommandType = System.Data.CommandType.StoredProcedure; paraDone.Direction = ParameterDirection.Output; insertRow.Parameters.AddWithValue("Number", no); insertRow.Parameters.Add(para); insertRow.ExecuteNonQuery(); suc = (bool)para.Value;
Comments
