Object reference not set to an instance of an object

System.NullReferenceException - Object reference not set to an instance of an object. 3 common causes in VB.Net.

FEnd: <tr id=”TDMortgageCalculatorBlock”>
CB= Protected WithEvents TDMortgageCalculatorBlock As System.Web.UI.HtmlControls.HtmlTableRow
Solution: add runat=”server”
<tr id=”TDMortgageCalculatorBlock” runat=”server”>

Comments are closed.