1,576 Posted Topics
Re: Hi, You'll need to use session timeout for the idle feature. You can set that in the Global file. For the log out feature you can use session variables. When the user logs in the logged_in variable is set to true, on log out you make it false. Then each … | |
Re: Hi, Are you getting the booking info from the same database? Your SQL query could simply use a JOIN on the two tables (Customers and Bookings) as they both have customer_id as a column. I couldn't see any location where you had tried to draw out the booking info though... … | |
Re: I'm confused too. The hover will appear over the thumbnail (although you can alter that with the left value in the .thumbnail:hover span section. But if the image is on screen to hover over, the large pic will be on screen too... | |
Re: What is the table structure you are using and are all 62 tables of the same design? Its hard to talk about efficiency without understanding how the tables are constructed. | |
Re: Use session state. That'll hold the variable until the user ends the session or it times out. To set it: Session.Add(name, value) To get it: x = Session.Item(name) Hope that helps, | |
Re: In the VS designer you have selected for the textbox to be AutoPostBack = True? Is the javascript code shown in red entered by yourself or auto generated by VS at compilation? | |
Re: Seeing you are using session sate you can cycle through the Pets list and save every checked option into an array and store that in the session state for retrivel on the results page. I'm assuming you need the summary on the results page to return a possible pets list … | |
Re: Are you accessing the ToString() property of the textbox? If not, you're not working with the string value itself, you're trying to alter the TextBox control. Are you trying to subtract two numbers or are you working with text input? | |
Re: You've got a couple of options. If the data in the able isn't very large and you're not worried about net traffic, draw the info back out of the database once its saved (thats all of the info) and databind the gridview to the dataset again. But that is lazy … | |
Re: LIghtBox, lightWindow etc are all Javascript tools. Check out the ProtoType or Scriptaculous javascript libraries or search for the lightbox code online. You're find some pretty good tutorials and examples. | |
Re: Hi, KISS huh? Question depends on the type of questions theyare answering although any solution requires saving the answers they've entered in some way. If its multi choice or short answer you could save each answer to a database under the user ID and then retrieve them when they log … | |
Re: I'm assuming the name is [url]www.roommatefinder.com[/url] (or similar suffix) but you don't actually mention it. You mention the admin person getting confused with the 'double R' and there is no double R in that URL so I'm not even sure that's the right one. If it is roommatefinder I don't … | |
Re: OK, I'm confused. There is no 'Click here' link in your HTML, just a text box and the drop down list. What is the text box meant to down when typed into? If the drop down list is populated, simply clicking on it will cause it to expand so items … | |
Re: I have to agree, your problem seems obvious. You've turned it off by setting it to false. | |
Re: Hi, When you're generating your numbers use a SELECT CASE statement to decide which one of several string to append. E.g. create the next number (i.e. 2) in a variable and check its length (1 in this case. Then use the select case to add the correct string to the … | |
Re: Hi, Pretty big topic to post here but I'll try to explain it in brief: I'm guessing you want some event (a new yoga class being set up) to trigger the email part of the software. Thats simple enough, it can be user controlled or called when the new yoga … | |
Re: Hi, The truth is that the browsers all render the pages slightly differently. They are meant to adhere to the HTML specifications but most browsers will not follow the specs in exactly the same way. You should have been around 5 years ago, things were a mess... For example the … | |
Re: Hi, If you're drawing the data for the first two columns out of a database, just add a third column into the SQL query that combines the two. Then databind the gridview to the resulting table. E.g. Select exam1, exam2, SUM(exam1 + exam2) as total from table; If you need … | |
Re: Hi, The timer you can code up in JavaScript to run on the page. There's no need to use server-side code for that. The changing sections without a page refresh will either require AJAX or, if you wanted to, you could conceiveably use plain JavaScript again to hide and disable … | |
Hi, I'm using a dataTable to process some data onto a webpage. The Page_Load calls the sub that access the database and sets up a dataTable. Another sub is then called which processes the dataTable and outputs to the webpage. That all works fine. I want to add a drop … | |
Re: Do you mean you have the various tables on different pages? If so you will want to look at storing the variables in some way. Session state, a database or query strings could all work depending on the number of variables you need to carry across to other pages. One … | |
Re: Hi bas_brain, I can't help with parts 2 and 3 of your question. For 1) you can improve the performance by structuring the tables around the data you will be requesting the most. E.g. if there are several columns you will always be selecting and others than you'll use rarely … | |
Hi, I've just had to reinstall Windows XP (again). It all went well but under Documents and Settings I can see the previous user accounts. Is there some way I can bring them back to life? I copied all of the files from one of them to a new account … | |
Hi, I recently started reading up on Ruby on Rails and decided to install it so I could give it a go. I found some inconsistencies and problems that I hope I can get some help with. First, when creating a project I used the ruby script/generate command and it … | |
Hi guys, I have recently installed and configured Apache to process aspx pages (I had to remove IIS when it started using 100% of the CPU when I requested localhost). Apache works perfectly but I'm having trouble with VS 2003. When I try to create or open a project I … | |
Re: Hi, I'm not a PHP expert but I'm not too bad with MySql. I maybe able to help. Whats the problem? Steve |
The End.