Beispiel #1
0
        protected void GridView1_PageIndexChanging(object sender, GridViewPageEventArgs e)
        {
            busDISRForm busDISR = new busDISRForm();
            FrameWork.DRSIForm[] frmDRSI;

            frmDRSI = busDISR.allDrSIForm();
            this.GridView1.PageIndex = e.NewPageIndex;
            this.GridView1.DataSource = frmDRSI;
            this.GridView1.DataBind();
        }
Beispiel #2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["user"] == null)
            {
                Response.Redirect("Login.aspx");
            }
            if (!IsPostBack)
            {
                busDISRForm busDISR = new busDISRForm();
                FrameWork.DRSIForm[] frmDRSI;

                frmDRSI = busDISR.allDrSIForm();
                GridView1.DataSource = frmDRSI;
                GridView1.DataBind();

            }
        }