Exemple #1
0
 protected void ManageCatalogueGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     ManageCatalogueGridView.DataSource = CatalogueBizLogic.ListCatalogue(searchString);
     ManageCatalogueGridView.PageIndex  = e.NewPageIndex;
     ManageCatalogueGridView.DataBind();
     BindGrid1();
 }
Exemple #2
0
 protected void InventoryGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     //string search= (string)ViewState["search"];
     InventoryGridView.DataSource = CatalogueBizLogic.ListCatalogue(searchString);
     InventoryGridView.PageIndex  = e.NewPageIndex;
     InventoryGridView.DataBind();
 }
Exemple #3
0
 protected void SearchButton_Click(object sender, EventArgs e)
 {
     searchString = SearchTextBox.Text;
     ManageCatalogueGridView.DataSource = CatalogueBizLogic.ListCatalogue(SearchTextBox.Text);
     ManageCatalogueGridView.DataBind();
 }
Exemple #4
0
 private void BindGrid1()
 {
     ManageCatalogueGridView.DataSource = CatalogueBizLogic.ListCatalogue();
     ManageCatalogueGridView.DataBind();
 }