ASP 101 - Active Server Pages 101 - Web01
The Place ASP Developers Go!

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

ASP.NET version of "Database Search"

Here's an ASP.NET version of our classic "Database Search" script. There's nothing extrodinary in it, but it's still a good little piece of sample code for those of you just getting started.

I modified the SQL Query from our original sample to keep the resulting tables looking similar. You see, in the DB, the first and last names are seperate fields, but in the original sample I joined them together using ASP when I displayed them. In order to keep things simple and still have the tables look about the same as the original, this time around I join the first and last names via SQL in order to keep the datagrid simple.

Here's a zip file of the code (1.2 KB).

Play with the running version.

View the live source code.

Back to the "Database Search" sample


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers