protected void InitPage()
    {
        MerchantListDAL func = new MerchantListDAL();
        DataSet         ds   = new DataSet();

        DAL.OveralManaDAL.IndManaDAL idm = new DAL.OveralManaDAL.IndManaDAL();
        IndList = idm.getIndList();
        //int count=0;
        //ds = func.GetMerchantListForPage(AspNetPager1.PageSize,AspNetPager1.CurrentPageIndex,out count);
        //AspNetPager1.RecordCount = count;
        //Repeater1.DataSource = ds ;
        //Repeater1.DataBind();
    }
    protected void InitPage()
    {
        MerchantListDAL func = new MerchantListDAL();
        DataSet         ds;
        int             count = 0;

        if (IndID != 0)
        {
            ds = func.GetMerchantListByIndID(IndID, AspNetPager1.PageSize, AspNetPager1.CurrentPageIndex, out count);
        }
        else
        {
            ds = func.GetMerchantListForPage(AspNetPager1.PageSize, AspNetPager1.CurrentPageIndex, out count);
        }
        AspNetPager1.RecordCount = count;
        Repeater1.DataSource     = ds;
        Repeater1.DataBind();
    }