예제 #1
0
 protected void TextBoxSearchProviders_TextChanged(object sender, EventArgs e)
 {
     GridViewForProviders.DataSource    = providerService.getProvidersWhoContains(TextBoxSearchProviders.Text).ToList();
     GridViewForProviders.SelectedIndex = -1;
     GridViewForProviders.DataBind();
 }
예제 #2
0
 private void BindProviderData()
 {
     GridViewForProviders.DataSource = providerService.getAllProviders().ToList();
     GridViewForProviders.DataBind();
 }