public void BindItems()
    {
        int RecordCount = 0;

        gvSetting.DataSource = BLL_Infra_SynchronizerSettings.Get_Office_Sync_Setting(null, CustomPagerSetting.CurrentPageIndex, CustomPagerSetting.PageSize, ref RecordCount);
        gvSetting.DataBind();

        CustomPagerSetting.CountTotalRec = RecordCount.ToString();
        CustomPagerSetting.BuildPager();
    }
Example #2
0
 protected void btnDelete_Click(object s, EventArgs e)
 {
     BLL_Infra_SynchronizerSettings.Del_Office_Import_Attachment_Rules(int.Parse((s as ImageButton).CommandArgument), Convert.ToInt32(Session["USERID"]));
     BindItems();
 }
Example #3
0
 protected void btnSaveRule_Click(object s, EventArgs e)
 {
     BLL_Infra_SynchronizerSettings.Upd_Office_Import_Attachment_Rules(UDFLib.ConvertToInteger(hdfRule_ID.Value), txtAttachPreFix.Text, txtAttachPath.Text, Convert.ToInt32(Session["USERID"]));
     BindItems();
 }
Example #4
0
 void BindItems()
 {
     gvAttachmentRule.DataSource = BLL_Infra_SynchronizerSettings.Get_Office_Import_Attachment_Rules();
     gvAttachmentRule.DataBind();
 }
 protected void btnSaveSetting_Click(object s, EventArgs e)
 {
     BLL_Infra_SynchronizerSettings.Upd_Office_Sync_Setting(UDFLib.ConvertToInteger(hdfSetting_ID.Value), txtKey.Text, txtValue.Text, Convert.ToInt32(Session["USERID"]));
     BindItems();
 }