public static string DRMReadProduce() { string ret; string source = ConfigurationManager.ConnectionStrings["EPInfoSys"].ConnectionString.ToString(); string DBcommand = "[dbo].[LoadDRM]"; DBOper DBop = new DBOper(source, DBcommand); ret = DBop.ProcedureReturnJSON(); return(ret); }
public string ReadTotalCol() { string ret; string source = ConfigurationManager.ConnectionStrings["EPInfoSys"].ConnectionString.ToString(); string DBcommand = "[dbo].[LoadDSinsTotal]"; DBOper DBop = new DBOper(source, DBcommand); SqlParameter[] _value = new SqlParameter[1]; _value[0] = new SqlParameter("_time", this._Time); ret = DBop.ProcedureReturnJSON(_value); return(ret); }