hi! i am using datagrid control to display data. when i delete all records that time it display a message like "No Records Available".
How can produce a message. i am delete the row using ID column. if i delete all records it display blank table.
please give a code to that.
Thanks.
Datagrid
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 20, 2010, 1:17 AM EDT
when your datagrid gets empty you have following options:
- Display a fake grey or pale datagrid to simulate a disabled datagrid
or
- Just a message to say that no data are present at the moment
Amit ChoudharyRank #145 · 15.8K reputationPosted Mar 20, 2010, 3:26 AM EDT
display a panel or any server side message from label under the grid.