Example #1
0
        void BindData()
        {
            ClassMonth m  = new ClassMonth();
            DataTable  dt = m.GetMonth("", "", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }
Example #2
0
        protected void btnSearchRefresh_Click(object sender, EventArgs e)
        {
            ClearData();
            ClassMonth m  = new ClassMonth();
            DataTable  dt = m.GetMonth("", "", "");

            GridView1.DataSource = dt;
            GridView1.DataBind();
            SetViewState(dt);
        }