Example #1
0
 /// <summary>
 /// get data with paging using stored procedure
 /// </summary>
 /// <param name="query"></param>
 /// <param name="data"></param>
 /// <param name="index"></param>
 /// <returns></returns>
 protected Data pageSP(String spName, String spCount, Data data)
 {
     dbc = new DBC();
     dbc.open();
     result = dbc.pageSP(spName, spCount, data);
     dbc.close();
     dbc = null;
     return result;
 }