</form> </body> </html> AfterLogin.master.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; System.Web.UI; using System.Web.UI.WebControls; using System.Data.OleDb; using System.Data; public partial MasterPage_Default : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { if (Session["UserName"] == null)
</form> </body> </html> AfterLogin.master.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; System.Web.UI; using System.Web.UI.WebControls; using System.Data.OleDb; using System.Data; public partial MasterPage_Default : System.Web.UI.MasterPage { protected void Page_Load(object sender, EventArgs e) { if (Session["UserName"] == null)