Forum: ASP Apr 18th, 2009 |
| Replies: 7 Views: 1,531 That's fine that courses are in an array, but where are the cost stored.
Moreever, if you want to do something on user selection, then either you will need to post your page back to server or you... |
Forum: ASP Apr 18th, 2009 |
| Replies: 5 Views: 1,734 there are 2 ways to do it.
1. Ajax- through which you can make server request without refreshing the page.
2. on page load, store all the values in a string variable as
str =... |
Forum: ASP Apr 18th, 2009 |
| Replies: 1 Views: 657 Hi,
This can be done directly in stored procedure. |
Forum: ASP Aug 18th, 2008 |
| Replies: 2 Views: 701 Hi,
What actually do you want to achieve.
Open the word doc or gettting the content of word doc and then displaying them in a webpage. |
Forum: ASP Aug 18th, 2008 |
| Replies: 4 Views: 1,319 Hi,
There are three ways, which you can use to store the values.
1. Session
2. Hidden variables
3. Querystring. |
Forum: ASP Aug 11th, 2008 |
| Replies: 3 Views: 2,392 Hi,
You will need to create a clock in javascript that will refresh the time. |
Forum: ASP Jul 30th, 2008 |
| Replies: 7 Views: 2,815 Hi,
an you properly explain your pronblem, as the way you have given the requirement, that will be the solution that you will get.
As per my understanding now, your requirement is " if... |
Forum: ASP Jul 29th, 2008 |
| Replies: 7 Views: 2,815 Ohh, your string contains both comma and semicolon, in this case the logic that I provided you will fail. |
Forum: ASP Jul 29th, 2008 |
| Replies: 7 Views: 2,815 Hi,
use the following logic to solve this
Suppose your string that user inputs is
str
splitstr=""
if InStr(str, ";") <> 0 then
splitstr=";"
elseif InStr(str, ",") <> 0 then |
Forum: ASP Jul 28th, 2008 |
| Replies: 7 Views: 2,815 Hi,
You can use split function as follows
str = "Romans 3:1,5;Romans 4:1-10"
arrstr = split(str,";") |
Forum: ASP Jul 28th, 2008 |
| Replies: 2 Views: 786 Hi,
Use the following code to get random values
<%
Option Explicit
Dim Tip(6)
Tip(1) = "tip 1"
Tip(2) = "tip 2"
Tip(3) = "tip 3" |
Forum: ASP Jul 28th, 2008 |
| Replies: 1 Views: 527 Hi,
Post the code of update_buyer.asp |
Forum: ASP Jul 24th, 2008 |
| Replies: 2 Views: 798 Hi,
Post your whole script |
Forum: ASP Jul 22nd, 2008 |
| Replies: 3 Views: 791 Hi vinay,
I am really sorry, but first you need to start learning ASP, as nobody here will do the spoonfeeding.
you need to first understand ADO.
Then the connection oject recordset object and... |
Forum: ASP Jul 22nd, 2008 |
| Replies: 4 Views: 1,067 Hi,
Post your code and table structure. |
Forum: ASP Jul 21st, 2008 |
| Replies: 1 Views: 823 Hi,
Can you post your code. |
Forum: ASP Jul 21st, 2008 |
| Replies: 3 Views: 791 Hi,
Use the following method.
set oConno = Server.CreateObject("ADODB.Connection")
set oRsMain = Server.CreateObject("ADODB.Recordset")
oConno.ConnectionString = "Provider=SQLOLEDB;Data... |
Forum: ASP Jul 21st, 2008 |
| Replies: 4 Views: 1,067 hi,
There change your query with following query:
select checktime from checkinout where checktime like '%"&any_dt&"%' |
Forum: ASP Jul 18th, 2008 |
| Replies: 1 Views: 746 Hi,
You can create a button in ASP and then on its click create a database connection and execute delete query on that table for the value.
Hope this will help you out. |
Forum: ASP Jul 15th, 2008 |
| Replies: 4 Views: 1,049 Hi,
Use this code
response.write "<a href='nextfile.asp?mode=delete&id=5' onclick='return confirmSubmit()'>Delete</a>"
return is compulsory here as we will need to stop the onclick event. |
Forum: ASP Jul 14th, 2008 |
| Replies: 3 Views: 871 Hi,
If you want us to help you, then you will need to post your code. |
Forum: ASP Jul 11th, 2008 |
| Replies: 3 Views: 1,393 Hi,
If you have got the solution, can you please close this thread. |
Forum: ASP Jul 10th, 2008 |
| Replies: 5 Views: 1,482 Hi,
Try to put your mdb file inside wwwroot directory. and then create a connection. |
Forum: ASP Jul 10th, 2008 |
| Replies: 5 Views: 1,482 Hi,
Right click on the mdb file and go to properties.
then click on security tab and add Internet Guest account and provide modify permission to it.
This will help you. |
Forum: ASP Jul 10th, 2008 |
| Replies: 3 Views: 1,393 Hi,
you can use the following logic.
suppose the number is 123.567
take 2 integer variables say a and b and 2 float variables say c and d.
now c=123.567
a = c |
Forum: ASP Jul 10th, 2008 |
| Replies: 6 Views: 1,621 Close the Thread as solved, if you have found the solution. |
Forum: ASP Jul 9th, 2008 |
| Replies: 6 Views: 1,621 Hi,
Use the following logic in menu
<a href="login.asp?fp=nb">Notice Board</a>
<a href="login.asp?fp=cr">Chat Room</a>
<a href="aboutUs.asp">About Us</a>
The logic in login... |
Forum: ASP Jul 8th, 2008 |
| Replies: 4 Views: 1,191 Hi,
Please close this thread, as this will help others who will be looking for solution. |
Forum: ASP Jul 8th, 2008 |
| Replies: 3 Views: 871 Hi,
Can you post your code, so that I can have a clear idea what you want to achieve. |
Forum: ASP Jul 6th, 2008 |
| Replies: 4 Views: 1,191 Hi,
I found two things in your code that, I think are causing problem.
1. b3_onclick: events are not called like this in asp.
Moreever, what you are trying to do is clicking on submit Button... |
Forum: ASP Jul 4th, 2008 |
| Replies: 2 Views: 1,287 Hi,
can you elobrate your problem, as you there can be different ways depending on requirement
Vivek
Enjoy coding and keep smiling |
Forum: ASP Jun 27th, 2008 |
| Replies: 6 Views: 1,621 Hi,
As I understand from your statement, you have an index.asp page, which has many links, one of those is for notice board.
like
Noticeboard
Forum
About us
when you click on a link you... |
Forum: ASP Jun 27th, 2008 |
| Replies: 1 Views: 1,588 Hi,
The problem is with Session.abandon statement.
you have included it in page check.asp in the bottom of the page.
Do you know what this statement does?
It destroys the session. so when... |
Forum: ASP Jun 25th, 2008 |
| Replies: 16 Views: 2,802 Hi,
The retrieved code is the order id that will be used in order detail page, when you will insert record in order detail table.
Hope this will close this thread
:)
Vivek |
Forum: ASP Jun 24th, 2008 |
| Replies: 16 Views: 2,802 I have noticed two things, that can be creating problem.
1. you have created a parameter
cmdInsertRetrieve.Parameters.Append cmdInsertRetrieve.CreateParameter("@CustomerID", 3,... |
Forum: ASP Jun 24th, 2008 |
| Replies: 16 Views: 2,802 Hi,
Can you show me the structure of table where you are trying to insert the record.
Thanks,
Vivek |
Forum: ASP Jun 24th, 2008 |
| Replies: 16 Views: 2,802 Hi,
If you can post your code, then we will be in better position to understand, what actually is your requirement.
even the page layout will be helpful.
thanks,
Vivek |
Forum: ASP Jun 18th, 2008 |
| Replies: 5 Views: 2,621 I hope that you have a database and the expiry dates are stored in a table.
Then if you can run the page everyday, you can write a logic in asp page to check for the expiry date.
The page will send... |
Forum: ASP Jun 13th, 2008 |
| Replies: 5 Views: 2,621 Hi,
Yes it is possible in ASP.
You will need to schedule a asp page on windows and in that page you can check your condition. This page will run everyday on a specific time on server.
Hope... |
Forum: ASP Jun 13th, 2008 |
| Replies: 1 Views: 2,851 Hi,
you can use following method. |