protected void lbuRefresh_Click(object sender, EventArgs e)
 {
     ClearData();
     ClassBudget b = new ClassBudget();
     DataTable dt = b.GetBudget("");
     GridView1.DataSource = dt;
     GridView1.DataBind();
     SetViewState(dt);
 }
 protected void lbuSearch_Click(object sender, EventArgs e)
 {
     if (string.IsNullOrEmpty(txtSearchBudgetName.Text))
     {
         ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "alertMessage", "alert('กรุณากรอก คำค้นหา')", true);
         return;
     }
     else
     {
         ClassBudget b = new ClassBudget();
         DataTable dt = b.GetBudget(txtSearchBudgetName.Text);
         GridView1.DataSource = dt;
         GridView1.DataBind();
         SetViewState(dt);
     }
 }
 void BindData1()
 {
     ClassBudget b = new ClassBudget();
     DataTable dt = b.GetBudget(txtSearchBudgetName.Text);
     GridView1.DataSource = dt;
     GridView1.DataBind();
     SetViewState(dt);
 }
 void BindData()
 {
     ClassBudget b = new ClassBudget();
     DataTable dt = b.GetBudget("");
     GridView1.DataSource = dt;
     GridView1.DataBind();
     SetViewState(dt);
 }