Exemple #1
0
        public void FillReplicationGrid()
        {
            DataTable replicationTab = VSWebBL.DashboardBL.mailFileBL.Ins.FillReplicationGrid();

            replicationTab.PrimaryKey      = new DataColumn[] { replicationTab.Columns["ID"] };
            ReplicationGridView.DataSource = replicationTab;
            ReplicationGridView.DataBind();
            Session["ReplicationFiles"] = replicationTab;
        }
Exemple #2
0
        public void FillMailFilesfromSession()
        {
            DataTable replicationTab = new DataTable();

            if (Session["ReplicationFiles"] != "" && Session["ReplicationFiles"] != null)
            {
                replicationTab = (DataTable)Session["ReplicationFiles"];
            }
            //probtab.PrimaryKey = new DataColumn[] { probtab.Columns["ID"] };
            ReplicationGridView.DataSource = replicationTab;
            ReplicationGridView.DataBind();
        }