•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 456,495 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,693 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2019 | Replies: 3 | Solved
![]() |
for Dataview use or
for datatables use
If dataview.count = 0 then button1.visible = False else button1.visible = True End If
for datatables use
If datatable.rows.count = 0 then button1.visible = False else button1.visible = True End If
•
•
Join Date: Aug 2007
Posts: 23
Reputation:
Rep Power: 2
Solved Threads: 1
Thanks for your reply ptaylor965, !!
Well, first of all, I made a mistake about the component, Its a gridview; second of all, on which event do I put these codes? consider that my gridview its binded by design with a objectdatasource, and I can't change that.
Thanks again!!
Omar
Well, first of all, I made a mistake about the component, Its a gridview; second of all, on which event do I put these codes? consider that my gridview its binded by design with a objectdatasource, and I can't change that.
Thanks again!!
Omar
•
•
•
•
for Dataview useorIf dataview.count = 0 then button1.visible = False else button1.visible = True End If
for datatables useIf datatable.rows.count = 0 then button1.visible = False else button1.visible = True End If
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Collapsing/Expanding a grid view row in a ASP.net Web form (ASP.NET)
- does <img tag has disable property (HTML and CSS)
- Stop printing boxes around forms? (JavaScript / DHTML / AJAX)
- hide link if variable is empty (JSP)
- Window Medias player a b!tch to get rid of??? (OS X)
- hijackthis log...I need help please (Viruses, Spyware and other Nasties)
- recommendations for JavaScript learning resources? (JavaScript / DHTML / AJAX)
Other Threads in the ASP.NET Forum
- Previous Thread: Comment tag ASP.NET
- Next Thread: Session variables


Linear Mode