Beispiel #1
0
 /// <summary>
 /// This method is used to get the data based on the query passed as string
 /// </summary>
 /// <param name="sqlQuery"> Sql Query to get the data from database</param>
 /// <param name="dataTableName">Reference data table name</param>
 /// <returns>DataSet</returns>
 public DataSet LoadDataSet(string sqlQuery, string dataTableName)
 {
     dataSet = new DataSet();
     dataBase.LoadDataSet(dataBase.GetSqlStringCommand(sqlQuery), dataSet, dataTableName);
     return(dataSet);
 }