Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     if (!Page.IsPostBack)
     {
         MonitorDb monitorDb = new MonitorDb();
         if (monitorDb.GetUsers().Count == 0)
         {
             Response.Redirect("setup.aspx");
         }
         Msg.Visible = false;
     }
 }