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); }
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); }
public DataSet SQLResult(string strSQLString) { oCExecutionDB = new CExecutionDB(); oDataSet = oCExecutionDB.DataAdapterQueryRequest(strSQLString); return(oDataSet); }
public CResult SQLResult(string strSQLString, SqlConnection oSqlConnection, SqlTransaction oSqlTransaction) { oCExecutionDB = new CExecutionDB(); oCResult = oCExecutionDB.DataAdapterQueryRequest(strSQLString, oSqlConnection, oSqlTransaction); return(oCResult); }