You can also put directly in your code: C #
GridView1.EmptyDataText = "This table has no data, or whatever";
This approach is good because you can control when to display this message.
those. in my case, when the first page appears (! IsPostback), I can say: "Please select the fields ..."
and if the request is empty, I can say: "Sorry, no data found ...."
source share