public void FillUserPasswordgridFromSession() { //MSoma if (Session["Office365Usersettingsgrid"] != "" && Session["Office365Usersettingsgrid"] != null) { O365Usersettinggrid.DataSource = (DataTable)Session["Office365Usersettingsgrid"]; O365Usersettinggrid.DataBind(); } }
public void FillUsersPasswordGrid() { DataTable dt = VSWebBL.DashboardBL.Office365BL.Ins.Usersettingsgrid(); if (dt.Rows.Count > 0) { O365Usersettinggrid.DataSource = dt; Session["Office365Usersettingsgrid"] = dt; O365Usersettinggrid.DataBind(); } }