Add A Quick Search Functionality In ASP Or ASP.NET Page
I want to add a "quick search" functionality in ASP or ASP.NET page. I heard
we can use Microsoft Indexing Service to accomplish the task, but not sure
how to do it. Is this the correct approach? Code:
I made an application using asp using help from fellow members. This application allows user to download files uploaded through ftp through a web page. they can select the check-boxes and download all the files in a single zip file.
Now some users want that some search functionality should be put on so that they can type a part of file name and all the files having the searched words in their name should come on a separate page so that they can select and download in one go.
I am really interested in creating a search the site.I am unsure how to actually approach such a task, but would rather do this using ASP, without the use of third party search tools, taht I know can be used.Can anyone give me some direction for actually developing one.I hope to add one to my site in the future, as the site will mainly be focussed towards offering tutorials etc, and it would be cool to actually have a serach utility, that could make things a lot easier for the viewer. Any advice. I have briefly looked at one offered on: http://www.stardeveloper.com/ But the complexity of it is overwhelming, and includes code that I dont think would be required for the search I actually have in mind.
I'm pretty new to this and im in the process of developing a site for a wildlife photographer in ASP and i need to implement an image search on the site including the functionality to add images to a lightbox etc. And to be honest i just dont know where to start... been searching and currently still searching .....
i have a server that has x number of pdf's. from time to time people are wanting to print one or more of those pdf's. right now they have to open up each pdf individual and then print. which can get annoying and time consuming after 3 or 4 pdf's. i'm going to setup a simple screen where they can use a checkbox to select which pdf's they want to print, hit print, and then combine the selected pdf's into a temporary pdf where they can go through the process one time. do yo all know of perhaps some functionality built into asp or some third party deal that will allow me to do this?
i have this search textbox and i want to search the likeness of the value i've entered in the box i created a query but i notice that when i type small caps letters it returned no results...
no matching record but when i capitalized the first character records were found e.g i type San the query returned results... i entered san and it returned nothing....this is my code "select * from profile where name='varname%'" help please?
im using cdosys to send an email from an asp page. is there a way i can insert the current page as the body of the email? i know i can send an HTMLBODY and specify a url.... but that wont work because the page is dynamically generated... so i need to be looking at a page, click a button and have the html of that page inserted as the body.
i want to run some code is a certain condition is met and i can't figure this part out i want if the button is pressed then will run my code else will run my other code but how do i specify this button. if "button" is pressed?
Im trying to finish off this project, but obviously I need a way for them to edit the database through asp. Does anyone know a good place to get some code or tutorial help for this?
My table has a field called ModelName which could contain 1 of 5 vehicle models. I want to force the query to order these in a particular order (not alphabetical, but an order that I have determined ('Range Rover', 'Discovery', Land Rover', 'Jeep', 'Others')
Let's say my current query is: "SELECT DISTINCT ModelName FROM tblVehicles"
What do I need to tag on the end to order the result as stated?
1)How can i work out if a certain user is still online? All the pages the user will be able to view has a "check this password etc etc" so i could work it out that way, but would prefer to try and use sessions 2)Work out when a visitor last visited the site. I would like it so that this is only updated when the user LEAVE the site or CLOSES the browser - so it cant be updated on every page 3)Work out what users are on what pages. Again will probably mean sessions but how?! 4)Work out what pages (threads) the user has looked at. I know both vbulletin and snitz do something with the users last visit (question 2) and the last post...but how does it work
I building a page showing the different times in different parts of the world but if the local time is 08:15:25 and I subtract 10 hours, it displays 0-2:15:25. How can I show it as 22:15:25.
Im looking since the begining of the week about saving the enter(vbcrlf) from the html <textareato my MySql database, it save everything but it just loose everything when saving ot the database, do i need a special component to be able to save the enter and tabs etc. Im sure i was able to do it before and it was easy.
I want to give Excel functionality. like copy/paste functionality in a web page and similarly I want to update the respective values at the backend after some action is taking by the user. like save/upadate data.
Where [0-9]+ means you need atleast 1 number there, the rest is just a string plus my recordset's variable. I know this syntax would work with the regex I learned at school but I'm not sure how to make it work in ASP.
Does anyone have a snippet to hand where i can create a dynamic dropdown for a credit card page, basically i need to dynamically create a drop-down populated with this year as 2006 and go back 4 years?
if you have a function in an include file, and you copy that function and give it a different name.... and then you change the name in your call.. shouldn't it work just like the old function did?
I m using MSQL and I m trying to create table where the first column is autoincremented, this, however, generates a syntax error. I can t figure out the problem:
Create Table tblAuthor (ID int(11) auto_increment,AuthorName varchar(200), primary key(ID));
Error Message: Line 1: Incorrect syntax near 'auto_increment'.
How can I add a quick drop down menu to an asp page? I've tried to incorporate javascript and I can't seem to make it work. I want it to replace the current navigation on this page.
I need to read information from a delimitered text file and list it in a specified format on a web page.
I have no access to a database so have to use the method above, I am wondering though, how much of a strain this sort of function would be (ie. load times etc) for a very large list?
If someone could point me in the right direction of which functions i need to be learning about (Old hand at PHP brand new to ASP),
I want to redirect users who DO NOT SUPPORT sessions to another page.
Think this will work? PSEUDO CODE:
------------------------------------------------------------------- <asp vbscript> <session("test")="true"> <if session("test")="true" then do nothing else response.redirect(www.domain.com/nosessions) end if> -------------------------------------------------------------------
This is setting a session state of "true", and I presume if sessions are disabled for security reasons, that the site will redirect accordingly?
We are building an application with ASP/SQL Server and need to build a search page. I want to display lots of fields/textboxes on the search page to allow user to search any field by entering the search terms in any of the textboxes.
I was thinking of using lots of if conditions to build the search string something like
strSQL = "Select <<fieldnames>> from Contracts where Active= True "
if request.form("contractno") <> "" then strSQL = strSQL & " and contractno ='" & request.form("contractno") & "'" end if
Does anyone know of a better way to build the SQL string. Also any methods to speed up the query built will be much appreciated. I have already limited the total results that the query displays but adding " Top 20 " in the SQL string. Any other suggestions?
When a visitor hits the F12-key, there will be a search-window to search within that page Can anybody give me a ASP-script that will do exactly the same. So, a little ASP-script with a "input type=text" to search in that page.
I am trying to make a search page. Once a serach word or words is put in I need it to serach multiple product tables and output the description of any prioduct if the search word is present in the description.
However, If i put in 2 keywords like "paper sticker" I get no results. How do you search multiple keywords? Code:
I am trying to create a search page. I have few hundreds of word documents in my server. I am giving the user a text box to enter the text to search within these word documents. when the user enter "xyz", all the word documents that contain xyz should be filtered.