Data Access with ADO.NET - Part 2
Details Related Types
Site:  ASP 101
Original URL:  http://www.asp101.com/articles/jay/adodotnet/part2.asp
Summary:
All right, so you're tired of hearing the theory and concepts behind ADO.NET. Me too. Let's look at and discuss some techniques and code that will allow us to read data into our ASP.NET web pages. I am going to be using the "pubs" database that ships with SQL Server to demonstrate the examples. I will also be introducing one ASP.NET control that we are going to use to display the data we retrieve: the ASP DataGrid. Although this control will not be covered at length, you will get a sense of its basic functionality and how ASP.NET strives to separate presentation and business logic.
System.Data.DataSet
System.Data.SqlClient.SqlCommand
System.Data.SqlClient.SqlConnection
System.Data.SqlClient.SqlDataReader
System.EventArgs
System.Object
System.Web.UI.WebControls.DataGrid
System.Windows.Forms.DataGrid
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com