This tutorial will show you how to create data table without SQL server in ASP.NET and VB.NET 2.0. This is very useful for storing temporary data.

Add a GridView control, two lable controls, three textbox controls and button control in the page

Create datatable structure.

Insert data into datatable.

Add data to datatable which we have created

Be noted “Session[“myDatatable”] = myDt;” is important to ensure we can add new data continually until the page be closed.

Download Source Files