public void bindGrid(string fillflag, int pageIndex)
 {
     try
     {
         Campaign objCampaign = new Campaign(ConnectionString);
         DataTable campaignJobs = objCampaign.getMailingCampaignsWithCountPageWise(ConnectionString, "CampaignsName", "desc", pageIndex, 10, out rowCount);
         RGridCampMails.CurrentPageIndex = pageIndex;
         RGridCampMails.VirtualItemCount = rowCount;
         RGridCampMails.DataSource = campaignJobs;
         RGridCampMails.DataBind();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }