示例#1
0
 public DataTable GetLabelList(string categoryId)
 {
     DataTable dt = null;
     if (int.Parse(categoryId) >= 0)
     {
         B_LabelContent bll = new B_LabelContent();
         int recordCount = 0;
         dt = bll.GetLbCategoryIdList(int.Parse(categoryId), 1, 1000000, ref recordCount);
     }
     else
     {
         B_SuperLabel bll = new B_SuperLabel();
         dt = bll.GetList(1, 1000000).Tables[0];
     }
     return dt;
 }
示例#2
0
 private void LabelContentBind(int labelCagegoryId, int cursorPage, int pageSize, ref int recordCount)
 {
     B_LabelContent bll = new B_LabelContent();
     repLabelContent.DataSource = bll.GetLbCategoryIdList(labelCagegoryId,cursorPage,pageSize,ref recordCount);
     repLabelContent.DataBind();
 }