VB.NET Tutorials

How to use ViewState in VB.NET

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 …

Learn more

How to get the current date in VB.NET

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 programmatically set the TextBox value and get the TextBox value in ASP.NET in VB.NET
How to set focus on control in VB.NET
How to store custom objects in a View state using VB.NET
How to …

Learn more