Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

make a label control invisible if GridView has Empty Data.

$
0
0

Hi,

I have a search box, a label below the searchbox, and below that label, a gridview. In the gridview, I have EmptyDataText property defined to "No Data" I however get label as well as No Data when search criteria has no output.

How do I make sure that the label is displayed only when there is data in GridView.

Thank you


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>