This tutorial will show you how to store data with Hashtable using ASP.NET 2.0 and VB.NET. At first, you need to import the namespace from System.Collections.The System.Collections namespace contains classe Hashtable which represents a collection of key/value pairs that are organized based on the hash code of the key.

In order to run the example, we will use the btn_get_Click to trigger the task. The code as following:

The front end StoreDataWithHashtableVB.aspx page looks something like this:

The flow for the code behind page is as follows

Download Source Files