<%@ Page %>

DataList Code Samples for Beginners

Introduction

Last week we saw samples of ASP.NET DataGrid. Some times simple tabular layout is not just sufficient. DataList can be used to provide still customizable interface to the user.

Sample Listing

Following samples are included with the download:
  • Simple Binding with DataSet
  • Selecting a record in DataList
  • Editable DataList

To run the samples you will need...

  • Windows 2000/NT with .NET Framework installed
  • IIS 5+
  • Visual Studio.NET
  • SQL Server 7+ or MSDE with Northwind database

How to run/view the code?

  • Create a web application in IIS with name as the project name
  • Open the project in VS.NET
  • Change database connection string in web.config to suit your database
  • Run the application

Bipin Joshi is an independent software consultant and trainer by profession specializing in Microsoft web development technologies. Having embraced the Yoga way of life he is also a yoga mentor, meditation teacher, and spiritual guide to his students. He is a prolific author and writes regularly about software development and yoga on his websites. He is programming, meditating, writing, and teaching for over 27 years. To know more about his private online courses on ASP.NET and meditation go here and here.

Posted On : 13 February 2002


Tags : ASP.NET Server Controls Data Controls