I have some code-behind and I am running in to an error. I am still very new to ASP.NET so I am having difficulty figuring out the "identifier expected" error.
Here is my code:
Partial Class Comments2 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) HiddenField hidDate = (HiddenField)FormView1.FindControl("hidTimeDate"); hidDate.Value = DateTime.Now.ToString(); End Sub End Class
Thank you for any help!