in this i get sr.no by <%=RS("cnt")%> which keeps increasing by 1. when i change some quantity how to capture in next page as i wont be knowing how many itesm are displayed in this page and which item user wants to update.
how would I go doing it without javascript and using 'POST'?
Having a page with a variable list of items in a shopcart, each item with its own 'remove' button. How could I do this without a javascript and using POST as the form type? (so having <a href="page.htm?remove=2> is not possible)
After updating a record, I want to go back to the results page from a search. Anyone know how to redirect after you update a record to go back a page to see the results again. A simple click of the back button would do the trick, but that can't be done after you click the update.
I have an ASP page which uses QueryString data to determine what the user is wanting to do. It has Upload (which provides a form to enter a category, title, overview, and file), Edit (which gives user a form with the before mentioned sections, minus the file, to change the overview, title, or category), Update (which processes the Edit form), and Delete, which allows the user to delete a file.
A user can upload a file just fine, and a file can be deleted just fine. The problem is with Edit/Update. The Edit form loads fine, with all the correct information in the input boxes, and a hidden field storing the "ID" for the record. This form submits to .asp?Action=Update, where the Select statement is based on the hidden ID. When the user clicks the update button on the Edit page, the next page never loads, the confirmation never comes up.
On our Production (Live) server this caused ALL of our sites to go down, we had to restart the server to bring them back up. Now I've been testing in our Development server trying to solve, it causes this site to go down, but all other sites on the development server continue to function (so we have a different result on this server, but still the problem). Reboot is not required here though, if I wait a few minutes, I can access the page again (maybe a timeout is happening here that isnt on the other server?) Code:
I want to build a page having a list of products with their individual price, order qty, and total price.
What I would really like is that when a user enters the order qty and tabs out, that the total price is updated instantly. How would I go about doing this?
When the user has finished all his order, then he would press the submit button and not before.
How would I go about updating a page without a form submit?when a user types the number 1 in textbox1 and the number 2 in textbox2, textbox3 automatically displays 3.
I developed an ASP page which has 2 input fields- First Name and Last Name.I used Access 2002 as database. Once I click the Submit button,
it has to perform 3 tasks----- 1) It has to update the First Name and Last Name in the MS-Access database in their corresponding fields. 2) It has to go to the Home Page(which I already did) 3) It has to update the date/time in the "Time" field in the MS-Access database.
The following is the code I wrote to connect to the database and update the fields in the Access table---
<% set MyConn = Server.CreateObject("ADODB.Connection") set rs = Server.CreateObject("ADODB.RecordSet") MyConn.Open "driver={Microsoft Access Driver
(*.mdb)};;DBQ=c:/documents and
settings/adcguest/desktop/webpage_html ewsecurity.mdb;" rs.Open sqlqry,MyConn,2,2 rs.AddNew rs("firstname") = first name rs("lastname") = last name rs.update
rs.close myconn.close %>
Can somebody please help me in figuringout if I am missing something.
I had successfully created a update page for a registration. But now I went into a problem.
1: In REGISTRATION page (Where they submit their data for the first time), they are able to use Drop down button to choose their answers. In my UPDATE page (Where they can edit their data), I can only create textbox for them to change their data which they originally used Drop down button.
For example: In REGISTRATION page, they can choose Yes/No from Drop Down button. In UPDATE page, they need to type in Yes/No instead from Drop Down button.
How can I create drop down button in the update page with their previous answer selected?
i am updating client's table(i.e insert one new client) from one asp page and after that it is being redirected to html page on that page i have one link which selects records from client's table and then displays it in the form of list. The problem is that when a new client is added it is not shown in the list. If anyone can please guide me on how to refresh the asp page after every database updates.
I got a test asp page which connects to Northwind.mdb database. This page pulls all the rows from the Customers table. One column i.e. GoodStatus has been added to the customers table. The following is the code to display all records of the customers table with some customization. Code:
Is it possible using ASP to update the page display by selecting a record from a <select> box, then, search the db for the record selected and update the same page with the content of that record? Code:
There's an access database on an iisserver and asp makes updates to it. The database got moved to a newer server. The users used to be able to open the database and use the asp pages at the same time. Now when the database is open the asp pages won't update.
I have an asp page in which I use the �time() function but that just gives the time at the moment the page is loaded. I need to reload/refresh the page once every second so the seconds increase by one continuously.
Microsoft has a service called SUS that allows operating system files to be updated from a dedicated server instead of from Windows Update(Microsoft). SUS is a web app based on .asp. I went ahead and installed SUS on a Windows 2000 server that already had IIS 5.0 on it.
After the installation of SUS I tried to browse to the home page,ie: http://localhost/SusAdmin, and got the error "page not found".
I was able to browse normal html files in the same SUS virtual directory in IIS and see them with no problem. Something is wrong with .asp on IIS or with the setup of SUS.
I'm using formmail.asp which is an emailing utility. Basically, the user fills out a request page, clicks "Submit" and the page posts to formmail.asp which emails the user information.
I'm running IIS5 on a Win2k server box and recently ran the Windows Updates (the last time I do that). Anyway, that emailing form doesn't work now on any of the sites I host. Any ideas?
I have a form I am validating on a page. Currently I have the page call itself to check the form values for validity. I want to use the form post method to send the form values to the Update page but can't because I am using the "Response.Redirect" which doesn't post the form values to the next page.
What is a good way to validate a form values then direct it to an update page if values are valid. Should I use Client-Side or Server-side script?
Okay there is an unique EventRegID for every registration. When people first register they get pre-registered. Then an admin comes in and confirms or wait list them (based on whatever requirements). My question is how can I tie the EventRegID to a form with multipule ID's so they can batch confirm or wait list the PreReg list? Code:
i want to print some data in the menu list. first, i have to select (checkbox) several data in the different page and then after complete it, i hit the print button. it's a same like add cart but with no trolly.
I need to build my own simple cart that writes to cookies only. I can write and read cookies, but don't have a clue as to how I can add multiple products, change quantites, etc. All I need is a cart that stores information in cookies and the user prints their order. That's it. Where can I find such information?
i was wondering if anyone could give me a few ideas on how to create a shopping cart using asp or even a good website asi have been searching and have not found any
how should i assign a unique id to a user ? i've used the sessionid in the past but have found that the sessionid is not unique. is there a better solution for assigning a unique id to each visitor ?
secondly, what's the best way to track visitors as they move about my site ? i'll be recording items in the cart in a database but will still need to track the user on each page ... session variables or a cookie ?
what's the best ASP shopping-cart available? I have looked in Aspin and there seems to be a few good one's around. Anybody tried any of them? Ofcourse, it needs to be fully-featured with order-tracking, intranet product management, etc.
I have made the following shopping cart. which displays data fine but when i hit the add to cart it is saying "No value given for one or more required parameters"
so i have not seen my cart working I would like to also add Images to this later but im taking one step at a time Code:
Is it possible to remove just the session.sessionID, I have other session variables that I would like to keep?I use this for saving cart information but it needs to be different each time.
Im building a simple asp shopping cart for my college assignment, however im having trouble adding more items to my cart.
i can add one item, but when i add another the previous does not show. Here is my code so far for my cart. I figured i need to somehow create an array? so i can loop through the session array? Code: