//@SignName char(30),@SignPassword char(30),
SqlParameter[] parms = {
new SqlParameter("@SignName", SqlDbType.Char, 30),//0
new SqlParameter("@SignPassword", SqlDbType.Char, 30),//1
};
parms[0].Value = this.SIGN_NAME;
parms[1].Value = this.SIGN_PASSWORD;
try
{
SqlDataReader dr = SqlHelper.ExecuteReader(SqlHelper.ConnectionString, CommandType.StoredProcedure, "AddUser", parms);
if (dr.Read())
{
this.SIGNON_ID = (int)dr.GetInt32(0);
}
}
catch (Exception e)
{
throw e;
}