K
keithb
What can I put in a stored procedure to control what gets returned by
command.ExecuteNonQuery()? I already tried this:
param = comm.CreateParameter();
param.ParameterName = "@Success";
param.Value = Convert.ToInt32(1);
param.DbType = DbType.Int32;
param.Direction = ParameterDirection.ReturnValue;
comm.Parameters.Add(param);
With a corresponding parameter in the stored procedure, but the value of
@Success still does not get returned by command.ExecuteNonQuery();
Thanks,
Keith
command.ExecuteNonQuery()? I already tried this:
param = comm.CreateParameter();
param.ParameterName = "@Success";
param.Value = Convert.ToInt32(1);
param.DbType = DbType.Int32;
param.Direction = ParameterDirection.ReturnValue;
comm.Parameters.Add(param);
With a corresponding parameter in the stored procedure, but the value of
@Success still does not get returned by command.ExecuteNonQuery();
Thanks,
Keith