i have 3 textfields: txtPrice, txtQty and txtSubPrice.
price for an item will be fetched from db at display in the txtPrice (i can do this). then, user just key-in the quantity for the item and automatically the sub price will appear in the txtSubPrice.
i have coded a function name CalculateSub() using javascript and tried to do the automatically calculation using onClick and onFocus at the txtSubPrice but failed. seems like textfield cannot has this function.
I am trying to add the price and shipping to equal the total price and display it in a table(receipt) I am able to get the price and shipping and handling to write to the page, but not sure how to add them together to get the total price:
The below code gives me $40.00$ 3.00 I want it to show as $43.00 ($40 + $3.00)if they ordered 500 business cards or $75.00 ($72 + $3.00)if they ordered 100 business cards.
<% quantity = Request.QueryString("quantity") If (quantity = "500") Then price = "$40.00" Else price = "$72.00" End If %> <% shipping = "$ 3.00" total = (price + shipping) %>
Does anyone know of a quick and easy way to stream a particular share price eg: msft into one's website....I have done a google search but I am not finding anthing specific...is there an asp solution?
how i can have a fixed 2 decimal space for price of an item.i have the code shown below but the result shows more than 2 decimal space or even 1 space. Code:
I have looked all over the net and even down the back of the sofa but I've been unable to find any scripts that allow me to add price comparison functionality to my shopping cart. where a script might be or even offer some pointers as to how I might go about doing this.
Does anyone know an easy way to put a current gold price on your own website? I've seen the graphic methods that Kitco.com offers, but I'd rather have it pull the value from some gold market system in text format. Code:
I have asp code. I would like to run it automatically by time interval using wondow schedule, but it can not be excuted. Is the reason that ASP is not executable? If so, how to run asp using window schedule?
I'd like to set-up an ASP page that emails shoppers 30 days after they've purchased an online product.
Constructing an ASP page that searches the database and if the datediff of the order date and now() = 30 to send out an email shouldn't be that difficult. But is there a way to have it run automatically?
if there is a way to use asp to automatically (i.e each time the source table is updated) take data from one table in an access database and add it to another table. This would include getting data from multiple columns in the source table and concatenating it into one in the destination table.
I am building a database that users will update. I have a table named "products". Every product has a shelf life of 3 years and expires exactely at the end of the 3rd year. Here is my table: Productid ---- int productName ---- varchar manufacture_date ----- datetime default (getdate) Expire_date ----- datetime
What I want is this, whenever a product is entered, the defualt date is the date the entry was made. (I am using the "getdate") to automatically grab this. BUT I also want the "Expire_date" field automatically calculated and then filled in. That is, a user enters a product "manufacture_date" as 05/22/2003, Then I want the expire field to be filled with 05/22/2006. My preference is to handle this on the DB site and not ASP.
To create a asp file in a wbserver as a interface for the IPphone and the internet. As IPphone can only have GET function ( that means it can't POST thing to the internet).
The asp file's concept is that the file is firstly read the data sent by the IPphone and then encode them into html format and then POST them to the required website. However, i only know the following method to POST. Code:
Let's say i have a text file on the web server callled "text.txt". And I have another text file on my computer called "text2.txt". I want to somehow write the contents of "text2.txt" into "text.txt". (or even upload the file from my computer to the web server)
I have a problem with IIS 6.0 + IE 6.0. I'm POSTing back to an ASP page a long lists of IDs used for sending emails (>10.000). This process takes more than 30 min. The problem is that this process is automatically restarted by posting again all the data. I checked ASP page and there is nothing to reload the page. But after more than 30 min. (changed the timeouts) the process simply restarts by posting again the full list. I only need to execute this page once.
why the whole process restarts posting back data (is not a simply GET, but POST)? There is no F5 / CTRL-F5 or Back buttons. It simply re-post data, without an error. It's my ASP page wrong? Or something wrong with IIS?
I want to add in my website a share rate and which changes automatically. how can i dispaly it in website what i have to do for that. I dont want to be linked with its website bu t i want to be displayed it in my web site.
I have created an application in ASP and want ot install the same into another machine but want to do in a manner such that all the programms should automatically install in InetPub directory.
I can think of executing this by cretaing an exec which will identify the inetpub and then installing the programms into it.
This is the message i get when we have our application running using our own ISAPI code, it desapears when we don use the ISAPI filter, Can anyone help, It seems IIS assumes that we have a virus as stated by microsoft Message
IIS ADMIN SERVICE TERMINATED UEXPECTEDLY XTIMES EVENT ID 7031 SMTP SERVICE TERMINATED UNEXPECTEDLY XTIMES EVENT ID 7031
FTP SERVICE TERMINATED UNEXPECTEDLY XTIMES EVENT ID 7031
It only happens when we are using our own ISAPI FILTERS .
I need some free tools that would allow me to automatically send e-mails to somebody acoording to the current date (e.g. if I have a table in a database with some fellows and their birthdays, I would like to automatically send them a greeting e-mail, when their birthday is). I would preffer that tool be installed as a service. It will be just fine if I will be able to use this tool in an ASP site.
Otherwise, how could I program such a tool (and what language would be the most appropriate)?
I would like to run an ASP page each day at the same time automatically. it reads from my product data and ftps the data to another server.
I am running on a windows system with IIS I have no idea where to begin. Is there anything else I can do? it is not my own server so I don't have access to server. I can just ftp.
I have a page shows the news from the database, normal thing. but how can we make the latest news show after 24 hours, since the shown one will remove from the page and the newer will appear.
I have a form that has 2 text fields. Field one is start date and field two is end date. I want field one to automatically be filled in when the Web page is opened with DateSerial(Year(Date()),Month(Date()),1) which should give me the first day of the month. Field two should be automatically be filled in with todays date. How do I do this?
For a project I am doing I would like to offer customers the chance to recieve notifications of an order by e-mail, SMS or MSN messenger. Is this possible using asp and without spending any money!