Can anyone tell me whats wrong here?
Error = Object reference not set to an instance of an object.
Here is the Code Behind:
Dim htmlTable As HtmlTable = TryCast(FindControl("tblMain"), HtmlTable)
Here is the HTML:
<table id="tblMain" style="width: 800px; height: 100%; background-repeat: no-repeat;
background-attachment: scroll; visibility: visible;" align="center">
Compiler does not catch this error but it does trow an error at runtime I reaaly cant see the issue. Can anyone see what is wrong here?
View Complete Post