Hi guys,
I am facing a problem with the Code behind file of the ASP.NET file i.e.new.aspx.vb is not allowing me to access the properties of the HTML controls on the .aspx page the error is as follows
My design code on the aspx page is
But in the code behind page
New.aspx.vb
When I write
The error the compiler gives me is "tblecs is not declared" when actually it is an HTML control & generally is easily accessible from an Asp.net page.
If anyone can help me out will be a lot more grateful to you, please rely to this asap.........
Thanks ..........
Ani
I am facing a problem with the Code behind file of the ASP.NET file i.e.new.aspx.vb is not allowing me to access the properties of the HTML controls on the .aspx page the error is as follows
My design code on the aspx page is
Code:
<table border = "0"; id = "tblecs" align ="center" style="width: 886px; height: 134px;" rules="none">
New.aspx.vb
When I write
Code:
Partial Class New Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load txtapptDate.Visible = False lblformat.Visible = False tblecs.Visible =False
If anyone can help me out will be a lot more grateful to you, please rely to this asap.........
Thanks ..........
Ani
Comment