Free templates
Meny Search Free templates

DataTable (C#, VB and ASP.NET) | Free code

Here you can download free code (C# och VB) that exemplifies the use of a DataTable to handle data in a web application in object-oriented programming.

A DataTable is a two-dimensional table with columns and rows that are stored in memory. A DataTable can be part of a DataSet or a DataView, a DataSet is a collection of many data tables that can be related to each other. A DataTable can be sorted and it is possible to do calculations on data and save the result in the data table.

A DataTable can be used directly as a data source for a Repeater, GridView, DataList or DropDownList and it is also possible to read data in a DataTable with a DataTableReader. A DataTable can be used to add many rows of data in a database simultaneously.

In this template with free code (C# and VB) for a DataTable do we show you how a DataTable is created by a selection from a database and how a DataTable is used as a data source for a Repeater. We also show how a DataTable with columns and rows are created by looping in an ASP.NET table in a form.

Remember that you in your web hosting account must have made a setting for the correct version of "ASP.NET" on your website (the version listed in the "Web.config" file). We are using Visual Web Developer 2005 (2010) Express Edition for web programming.
Updated: 01/01/2015 | Created by

Download DataTable (C#, VB and ASP.NET) | Free code ยป

Tags: web code datalist