Example #1
0
 protected void Page_Load(object sender, EventArgs e)
 {
     BusinessLayer.DataServices m = new BusinessLayer.DataServices();
     grdTools.DataSource = m.GetToolAcademicInfo();
     grdTools.DataBind();
     if (Session["Tool"] != null && !IsPostBack)
     {
         LoadSelectedState();
     }
 }
Example #2
0
        // To reset all options to default settings

        protected void btnReset_Click(object sender, EventArgs e)
        {
            BusinessLayer.DataServices m = new BusinessLayer.DataServices();
            grdTools.DataSource = m.GetToolAcademicInfo();
            grdTools.DataBind();
        }