You as software developer can use code to add information directly to the view state collection of the containing page and recover it later after the page is posted back. The type of information you can store includes not only the simple data types, but your custom objects too. The view state collection is provided by ViewState property …
To get the current date in VB.NET you should use DateTime.Now Property:
‘ Get the current date and time in VB.NET
Dim currentDate As DateTime = DateTime.Now
Related TutorialsHow to transfer information between pages in ASP.NET using a query string in VB.NET.
How to use session state in ASP.NET using VB.NET
How to apply CSS style in the Label control from code-behind in ASP.NET …