Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. <asp:GridView ID="somethingGridView" runat="server" EmptyDataText="No records Found" </asp:GridView>
  2.  
  3. DataTable dt = dataCallFunction();
  4. if(dt.Rows.Count == 0){
  5. IdOfGridView.Visible = False;
  6. IdOfLabel.Visible = True;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement