Is this the best way to do this (Full Version)

All Forums >> [Web Development] >> ASP and Database



Message


DesiMcK -> Is this the best way to do this (12/26/2004 18:38:58)

...or is there a more effecientway.

At present I need to search a db in ten different ways. Each way has required my to duplicate the results page but change the SQL line accordingly.

For example, one search is based on ClassID, so from a drop down box I choose 'search by class' then I am directed to a specially written page which includes a text box for classID which sends the value to another page where the SQL line picks up the value of classID. I laso have to search by surname, so I have the same pages except that classID is now surname.

Is there a way to simplify this as I need to add a load more searches. BTW some of the possinle searches have two parameters.

Desi




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.03125