The DrugHistory Application

To demonstrate the use of a DataList control, I have created an application that uses the DataList control. It enables users to search for pharmaceuticals. Users can then select a drug and see some details on it. When the drug is selected, an option enables users to add that particular drug to their drug histories. Users can then keep track of the drugs that they are currently taking.

Two database tables are at work in this application. One table contains information that lists pharmaceutical products. The other table saves information for users so that they can keep track of the drugs they are currently taking.

The first part of the application is simple. The user is presented with a text box into which they can ...

Get Special Edition Using® Microsoft® ASP.NET now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.