How to Use the HiddenField Control

This tutorial will show how to use the HiddenField control in Visual Basic.NET. We will add a HiddenField to a web form and access it on the click of a button.

Related Topics
Ads:

Using the ListView Control to Display, Page, and Sort Data Records
In this ASP.NET 4.0 tutorial we will demonstrate how the ListView control supports display, paging and sorting functionality. We will be working with templates because they allow you to have complete control over the layout and appearance of the data in the control.


How to Create an Image Map in Visual Basic.NET
This tutorial will show how to create an image map with the help of ASP.NET’s ImageMap control. An ImageMap control displays an image on a page, and when a HotSpot region defined within the ImageMap control is clicked, the control either generates a postback to the server, or navigates to a specified URL. In this tutorial we will use a simple image of earth and display a message when the HotSpot region clicked.


Databinding Using the DetailsView Control
In this tutorial we will cover creating a DetailsView control and binding it to a pre-existing database table.


Databinding Using the GridView Control
In this tutorial we will cover creating a GridView control and binding it to a pre-existing database table.


How to Use a BulletedList Control
A bulleted list control adds a bulleted list to the web site. We are also able to choose what is put in the bulleted list. This item is best used when making headlines of steps, examples, etc. As you will see it is simple to create and use.


Databinding Using a SqlDataSource Control in VB
Databases are powerful things and in today's society, you cant possibly stay away from them. Presenting them is a totally different animal though, the information has to look neat and not like a bunch of gibberish as we see it. To do so, we would need to connect to the database somehow. In this tutorial we will learn how to connect to a SQL server using Visual Basic and a SQLDataSource control


How to Use the Calendar Control
This tutorial will show how to use the calendar control in visual studio. We will create a calendar and add holidays to it that will show in highlighted form on the calendar.


Creating an Advanced VB database application using ADO control
In this lesson, you will learn to create a more advance database application using ADO control.


High Resolution Timing in Visual Basic
So, you're interested in having your functions act at specific time intervals, eh? Naturally you would turn to the Timer Control included with VB. Unfortunately, the timer control has a resolution of ~55ms. 55ms seems like a very short time to us, but to the computer, 55ms is an agonizingly long time. Don't torture your computer! Use accurate and high-resolution timing methods!.


More on Program Control
If you have a lot of conditional statements, using If..Then..Else could be very messy.


Instrinsic Controls
VB comes with 20 built-in controls. In this section of the tutorial I provide a few comments about each one, trying to give some useful pointers on the use of each control.


Searching Listbox
This sample shows how to search item from the listbox. New to method to the .NET listbox control.


Creating database applications in VB-Part II
you have learned how to create a simple database application using data control. In this lesson, you will work on the same application but use some slightly more advance commands.


ActiveX Controls
In the Learning Edition of VB there were only 4 ActiveX controls, but in the Professional Edition of VB, Microsoft has provided 20 additional controls. Some are very excellent and some you may never use. In this section of the tutorial I provide a few comments about each one, trying to give some useful pointers on the use of each control.


Add ScrollBar to GridView with ASP.NET 4.0 and VB
This tutorial will demonstrate how to add a scrollbar to a grid view control with ASP.NET 4.0 and VB.


Runtime Menus
In Visual Basic, adding menus at runtime is handled in the exact same way as adding any control at runtime.


How to Use a For Loop in Visual Basic.NET
The for loop is a control statement that allows code to be executed repeatedly until a given Boolean condition is met. Its a lot easier to see it than to read about it. If you understand how for loops work then you should easily understand the other loops available in Visual Basic.


Staying in Control War Against Bugs
Program bugs are highly ecological because program code is a renewable resource. If you fix a bug, another will grow in its place. And if you cut down that bug, yet another will emerge; only this one will be a mutation with long, poisonous tentacles and revenge in its heart, and it will sit there deep in your program, cackling and making elaborate plans for the most terrible time to strike.


Controlling Program Flow
To control the VB program flow, we can use various conditional operators. Basically, they resemble mathematical operators. Conditional operators are very powerful tools, they let the VB program compare data values and then decide what action to take, whether to execute a program or terminate the program and etc.


Creating Multimedia Applications-Part I
You can create various multimedia applications in VB that couold play audio CD, audiofiles, VCD , video files and etc.
To be able to play multimedia files or multimedia devices, you have to insert Microsoft Multimedia Control into your VB applications
that you are going to create.