Exemple #1
0
 public void ShowManufacturers(IEnumerable <ManufacturerDTO> manufacturerDtos)
 {
     ManufacturerResultsGridView.DataSource    = manufacturerDtos;
     ManufacturerResultsGridView.EmptyDataText = Constants.EmptyData.ManufacturerResults;
     ManufacturerResultsGridView.DataBind();
     ManufacturerResultsGridView.EmptyDataText = string.Empty;
 }
Exemple #2
0
 public void ClearControls()
 {
     ManufacturerResultsGridView.DataSource = null;
     ManufacturerResultsGridView.DataBind();
     Update();
 }