Beispiel #1
0
        public void FillOffice365Grid()
        {
            DataTable dtMailFiles = VSWebBL.DashboardBL.Office365BL.Ins.GetOffice365Mails();

            dtMailFiles.PrimaryKey   = new DataColumn[] { dtMailFiles.Columns["ID"] };
            Office365Grid.DataSource = dtMailFiles;
            Office365Grid.DataBind();
            ((GridViewDataColumn)Office365Grid.Columns["Server"]).GroupBy();
        }
Beispiel #2
0
        public void FillMailFilesfromSession()
        {
            DataTable dtMailFiles = new DataTable();

            if (Session["Office365MailFiles"] != "" && Session["Office365MailFiles"] != null)
            {
                dtMailFiles = (DataTable)Session["Office365MailFiles"];
            }

            Office365Grid.DataSource = dtMailFiles;
            Office365Grid.DataBind();
        }