On Aug 21, 7:50 am, shapper <mdmo...@gmail.comwrote:
Hello,
Is it possible to display a message in a GridView such as "No Records
Available" when the DataSet is empty?
Thanks,
Miguel
You can also, if you would prefer the columns and grids did not
display as there is no data, to read the property Rows from the
GridView, and if (rows == 0) then alertLabel.Visible = true;
alertLabel.Text = "Blah blah"
Where an alertLabel is merely an invisible label you hide in your
screen to display only upon empty resultant sets.