A DataReader is an efficient solution for instances when you just want to read some data. This code shows the DataReader in action: SimpleDataAccess.aspx.cs (excerpt) using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Collections.Generic; using System.Data.SqlClient; public partial class SimpleDataAccess : System.Web.UI.Page [...]
Tag Archives: AspNet
Choosing Right Collection in asp.net Project C#
Posted by james on April 29, 2011
0 comments
Making effective use of data collections is an essential skill of software developers. Nearly all computer science programs require students to take one or more courses focused solely on data structures. The various collection types within the .NET Framework implement many of the most common data structures. The MSDN reference site lists the following as [...]