To Build A Multi-View Search Form For A Travel Company?
Jan 26, 2011
I have a requirement to build a "Search" form for a travel company. This search form will be used for searching different travel components such as Flights, Hotels, Cars etc.Most of the fields in the form are common (such as travel dates, origin and destination cities etc) for all components but will also contain some component specific fields (such as Business/First/Economy Class & Nonstop Flight Indicators for Flight Search).Even though most of the fields are common, they need to be displayed with component-specific labels.for example:"travel dates" would say "check-in & check-out dates" on Hotel search form where as they would say "departure & return dates" on Flight search form.What is the best approach to design a search form which would display field with component-specific labels and also provides a way to map/associate fields to components (common fields to all component types and component-specific fields to corresponding component)? Is there something similar to Data Annotations for achieving this behavior?
I have to adjust the existing travel booking form on www.lastminutejoy.de for all the 6 subpages which can be seen in the footer area (royal atlantis, aspendos beach...)
On a certain subpage, e.g. .../aspendosbeach.aspx, the visitor should be able tosearch ONLY everything related to aspendos beach. The style should be like this one: www.delphinpalace.de (on the left)
There you can see that you can search for "flight + hotel" (Flug + Hotel) and "hotel only" (Nur Hotel). As a result of the search, visitors should see the same style like the one you see on those subpages of lastminutejoy.de.
As you don't have to code from scratch but just have to do some adjustments for all 6 hotels this shouldnt take too long.
I have a simple database search engine set up on my company's intranet and I'd like to add auto-complete... Can somebody walk me through this? The database is Access. I'll need to make sure I'm using parameterized queries as well.
I want to know how can I build a simple search engine which search from specific websites, for example it should search codeplex and msdn only and show the result on my page?
I am new to working with the Form View control so I am not quite sure how to do this.
I want my users to be able to enter search criteria into text boxes at the bottom of my FV just beneath a table and then click a button to initiate a DB search and rebind of the form.
Where do I create/ access the button's event handler to make this happen ?
I would like to have buttons in the Item template and possibly the edit template sections of the FV.
So I have created my buttons and now I want to access their button click events.
Here is my meager start this is located in the Formview databound event:
I want to build a survey system where you can build a form with questions and some answers to these questions and then members who will log in will be able to take the test.
Then i want to present the different results from the test in some diagram or something like that.
im trying to build my first multi-tenant application, i used a shared database and it is complete now, i want to build the app now, and i tried this approach: all urls in the app have the following form ~/user/page.aspx(user directory is logical) where user is the current user, which is saved in a session after he logs in. when the user requests a page, say ~/user/profile.aspx, he is routed to the real page ~/profile.aspx and then his data are retrieved from the database. i dont think this is how multi tenant applications work, but i couldnt think of another method.
how to do multi search in asp.net ex: i had database include name,location,date,salary i when to search for any of select ex: name and date or location only or name and location filixible search determ by user.
I am trying to write a simple search form for our site. Here is my delima... I am trying to figure out that if there is nothing to search for in one textbox then search in the next textbox. The problem is that I dont know how to format my search string: For Example:
Means if i have two columns in database namely name & email
i wanna search the users or email by entering either name or email on textbox then after clicking the search button record will be displayed in gridview ?
I am currently useing forms authenticantion with users set up with the Membership API and I have there other information like first name and work phone number stored useing the Profiles API. I want to create a company directory useing a grid view to display every user and there profile information. I can use Membership.GetAllUsers() or ProfileManager.GetAllProfiles() but it does not list any of the custom profile information like name and phone. What is the best way to get a grid view to show all the user information?
Our current application is working fine but when you try to misbehave like we found out that When login with same user in multiple tab with different organization(there is a organization dropdown in the master page which sets the cookie whenever it is changed.) in tab one it is org 1 and tab 2 it is org2 , cookie has the later org 2 in it but when we go back in tab1(which had org1) and save the record org 2 will be saved with the record So can some one share some sort of a checklist with us which address these types of problem.
I've created a photo database and search engine that creates a xml that corresponds to the multiscale image xml.My problem is how to enable multi users to search at the same time?
I am having with the a full text index I am developing for a product catalog. It does all work to a degree I am just seeing some strange things happening.
From the database side I have a Products table that is being indexed on both the PartNumber and Description columns because I would like the users to be able to search either or using the search function.
Problem 1:
whenever I use multiple words in the search I don't always get the results I am looking for, this happens most notably when I am attempting to say put in a full part number (which for in this case would look like "I 10-9.2")
Problem 2:
I am not 100% sure that this is the most efficient way of completing what I am attempting to accomplish here since I have 2 columns that I need to perform the search on
Here is an excerpt from the click even when the user clicks the search button on the page:
[Code]....
And here is the search functions called from the click event to firstly check if there are any results and the second to display the results in a custom gridview:
I would like to create personal web site including search engine in my site content. I don't know algorithem how to build it yet. how to build my own search engine?
I have been asked to build an ASP.Net website that has a custom search, when the page is loaded it displays a gridview with a list of data, then when a button is pressed it takes the value from the text box and runs a stored procedure using the value, the gridview then databinds successfully displaying the new data. But the select button does not take the rows data it takes the data from the row corresponding to the data when the page is loaded, not from the search button.
I'm a complete novice in .NET. I am trying to implement a multi textbox / dropdowns / checkboxes search for a website using vb.net. How do I pass the values of my form fields to my griedview and display the search result on the same page?
I've written a stored procedure and specified it as data source for my gridview and defined parameter source as my CONTROLS (textboxes, checkboxes n dropdowns) on the form. What I want is when a user fills out one or multiple fields on the form, how do I display data in the gridview on the click of SEARCH button? Also is it necessary to write a codebehind for my search button or we can achieve the desired result in some other way?
I am tring to build a page with advanced search options. Here is my code am I on the right path. What I wnat this to do is if you put something in any one of the textboxes it will filter by that column.
i'm tring to search my table according to id number or the case number then view it in a gridviewbut it work for the first time then after it stop for error
Dim conn As New SqlConnection conn.ConnectionString = "Data Source=.SQLEXPRESS;AttachDbFilename=C:Program FilesMicrosoft SQL ServerMSSQL10.SQLEXPRESSMSSQLDATATask.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True"
I have a large multi-step form that will insert a record into a database. I'm using ASP.NET and I know there are some pre-made controls you can use for this, but I'm not all that familiar with all of them. The formview seems to be a good control, but I'm not sure if it could be used with multiple steps/pages...? What's the best way to do this?
I would like to create a multi-part form that can be used for entering and updating data.
From all of the tutorials it was unclear to me how to read the value of, for example, the text in a text box, so that I can update a database. One of the videos deals with using find control to find the values of controls that are inside item templates. That doesn't seem to be applicable here.
The second question I have is how to populate the value of a textbox or dropdown list from a database.