public static DataSet SelectByPagerData(Model.SelectByPager pager) { SqlParameter[] pars = new SqlParameter[] { new SqlParameter("@col", SqlDbType.VarChar, 100), new SqlParameter("@Columnlist", SqlDbType.VarChar, 500), new SqlParameter("@pagesize", SqlDbType.Int), new SqlParameter("@pageindex", SqlDbType.Int), new SqlParameter("@docount", SqlDbType.Bit), new SqlParameter("@where", SqlDbType.VarChar, 0x1f40), new SqlParameter("@order", SqlDbType.VarChar, 100), new SqlParameter("@tabs", SqlDbType.VarChar, 100) }; pars[0].Value = pager.Col; pars[1].Value = pager.Columnlist; pars[2].Value = pager.Pagesize; pars[3].Value = pager.PageIndex; pars[4].Value = pager.DoCount; pars[5].Value = pager.Where; pars[6].Value = pager.Order; pars[7].Value = pager.Tabs; return(SqlHelper.GetAllInfo(pars, "sp_SelectPager")); }
public static DataSet SelectByPagerData(Model.SelectByPager pager, string strGroup) { return(DAL.SelectByPager.SelectByPagerData(pager, strGroup)); }
public static DataSet SelectByPagerData(Model.SelectByPager pager) { return(DAL.SelectByPager.SelectByPagerData(pager)); }