Simple Data Binding using ADO.NET

Submitted By: WEBMASTER
Rating: (Not rated) (Rate It)
Share: Share By Email 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

(Not published)
star
starstar
starstarstar
starstarstarstar
starstarstarstarstar
 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.