Beispiel #1
0
 protected void ManageCatalogueGridView_PageIndexChanging(object sender, GridViewPageEventArgs e)
 {
     ManageCatalogueGridView.DataSource = CatalogueBizLogic.ListCatalogue(searchString);
     ManageCatalogueGridView.PageIndex  = e.NewPageIndex;
     ManageCatalogueGridView.DataBind();
     BindGrid1();
 }
Beispiel #2
0
 protected void SearchButton_Click(object sender, EventArgs e)
 {
     searchString = SearchTextBox.Text;
     ManageCatalogueGridView.DataSource = CatalogueBizLogic.ListCatalogue(SearchTextBox.Text);
     ManageCatalogueGridView.DataBind();
 }
Beispiel #3
0
 private void BindGrid1()
 {
     ManageCatalogueGridView.DataSource = CatalogueBizLogic.ListCatalogue();
     ManageCatalogueGridView.DataBind();
 }