public void ShowParts(IEnumerable <PartInventoryDTO> partInventoryDtos) { PartInventoryResultsGridView.DataSource = partInventoryDtos; PartInventoryResultsGridView.EmptyDataText = Constants.EmptyData.PartResults; PartInventoryResultsGridView.DataBind(); PartInventoryResultsGridView.EmptyDataText = string.Empty; }
public void ClearControls() { PartInventoryResultsGridView.DataSource = null; PartInventoryResultsGridView.DataBind(); Update(); }