Example #1
0
 public CResult LoadDropDownListSpecial(string strSQl, string PorC)
 {
     oCExecutionDB = new CExecutionDB();
     oCResult      = oCExecutionDB.DataAdapterQueryRequest(strSQl);
     CResult.DataTableContainerForDropDownList = this.LoadTableSpecial((DataSet)oCResult.Data, true, PorC);
     return(oCResult);
 }
Example #2
0
 public CResult LoadDropDownList(string strSQl)
 {
     oCResult = new CResult();
     try
     {
         DataTable oDataTable = new DataTable();
         oCExecutionDB = new CExecutionDB();
         oCResult      = oCExecutionDB.DataAdapterQueryRequest(strSQl);
         oDataTable    = ((DataSet)oCResult.Data).Tables[0];
         oCResult.DataTableContainerSub = oDataTable;
     }
     catch (Exception ex) { }
     return(oCResult);
 }
Example #3
0
 public DataSet SQLResult(string strSQLString)
 {
     oCExecutionDB = new CExecutionDB();
     oDataSet      = oCExecutionDB.DataAdapterQueryRequest(strSQLString);
     return(oDataSet);
 }
Example #4
0
 public CResult SQLResult(string strSQLString, SqlConnection oSqlConnection, SqlTransaction oSqlTransaction)
 {
     oCExecutionDB = new CExecutionDB();
     oCResult      = oCExecutionDB.DataAdapterQueryRequest(strSQLString, oSqlConnection, oSqlTransaction);
     return(oCResult);
 }