Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <asp:GridView ID="somethingGridView" runat="server" EmptyDataText="No records Found" </asp:GridView>
- DataTable dt = dataCallFunction();
- if(dt.Rows.Count == 0){
- IdOfGridView.Visible = False;
- IdOfLabel.Visible = True;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement