Make HTML Table Invisible

C

chuckdfoster

Can I make an HTML table (Table1) invisible through my ASP.NET code? After
I update the database, I want my form which is in Table1 to dissappear they
can't edit it again.

Thanks in advance for any advice.
 
P

Peter Rilling

You can attach the runat=server to the <table> element and then have access
to it in code. Then you should be able to set the Visible property.
 
C

chuckdfoster

Thanks! Worked like a charm!


Peter Rilling said:
You can attach the runat=server to the <table> element and then have
access to it in code. Then you should be able to set the Visible
property.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top