HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1249
Number of posts: 3348

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Help with requesting form information Posted by Javen on 15 Apr 2009 at 12:55 PM
Hey guys!

I took a looong hiatus after my web designing days in highschool, and now I'm trying to get back into it. It's difficult to find help for what I do because I use the same method I did back then, I think it's simple ASP, and no one seems to do that anymore. So sorry if my terms are off, it's been years.
ANYWAY, what I'm doing SHOULD be very simple: displaying a list of information (from a database) to a user which they can search.
I have everything in the database display, and I have a search textbox they can use to look for keywords.

How do I Select All records from a database where any of the fields contain the keyword?

Once I get the results of those keywords, how do I break down the results into multiple pages?


Thanks everyone. This is really difficult for me because logic tends to elude me, and I'm sure the answer is so simple I'm going to be embarrassed.


Report
Re: Help with requesting form information Posted by mysorian on 16 Apr 2009 at 5:18 AM
Try to search for help on 'Full Text Search'. SQL Server can do a Full Text Search. It is enabled by default in SQL Server 2008 and perhaps in earlier versions. But you need to put the stuff you want to search in a Table and set up indexes.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.