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.
Loading
Amit ChoudharyPosted Mar 20, 2010, 7:26 AM
display a panel or any server side message from label under the grid.
Amit ChoudharyPosted Mar 20, 2010, 5:17 AM
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