Reputation: 25553
WIth aspx, there are UI part(.aspx) and code behind(.aspx.vb).
In Markup, there is some html element, like Table with ID='Tab1'
How to got the html element Table in code behind to change its attributes?
Upvotes: 0
Views: 1699
Reputation: 148120
Make the table accessible in code behind by assigning it id and making it runat="server"
<table id="tbl" runat="server" >....
Upvotes: 1