Simple Data Binding using ADO.NET
Submitted By:
WEBMASTER
Rating:
(Not rated) (
Rate It)
Share:
By Email
Visit
Description
This short tutorial will describe the bare minimum things you need to do to bind to a database using C#, ADO.NET and ASP.NET. We will not be giving explinations on C#, this is a tutorial on databinding using ADO.NET. After you have a new .ASPX file open and a DSN pointing to either Pubs database or Northwind we can start. The first thing we do before we use ADO.NET for this sample is import two Namespaces. System.Data and System.Data.ADO. You can use Namespaces two ways in ASP.NET; you can import them as we do below, or you can include them globally in the Config.Web using the assemblies directive.(not discussed in this tutorial)
Comments (0)
Add Your Rating