Quick If

i want to run some code is a certain condition is met and i can't figure this part out
i want if the button is pressed then will run my code else will run my other code
but how do i specify this button. if "button" is pressed?

View Replies


ADVERTISEMENT

Quick CDO

im using cdosys to send an email from an asp page. is there a way i can insert the current page as the body of the email? i know i can send an HTMLBODY and specify a url.... but that wont work because the page is dynamically generated... so i need to be looking at a page, click a button and have the html of that page inserted as the body.

View Replies View Related

Quick Question

how can I count specific charaters in a string?
like the amount of backslashes in-
"D:Inetpubsite hisstring"

View Replies View Related

Quick Query

How do I force the order of a SQL query?

My table has a field called ModelName which could contain 1 of 5 vehicle
models. I want to force the query to order these in a particular order (not
alphabetical, but an order that I have determined ('Range Rover',
'Discovery', Land Rover', 'Jeep', 'Others')

Let's say my current query is:
"SELECT DISTINCT ModelName FROM tblVehicles"

What do I need to tag on the end to order the result as stated?

View Replies View Related

ASP Quick Fire

1)How can i work out if a certain user is still online? All the pages the user will be able to view has a "check this password etc etc" so i could work it out that way, but would prefer to try and use sessions
2)Work out when a visitor last visited the site. I would like it so that this is only updated when the user LEAVE the site or CLOSES the browser - so it cant be updated on every page
3)Work out what users are on what pages. Again will probably mean sessions but how?!
4)Work out what pages (threads) the user has looked at. I know both vbulletin and snitz do something with the users last visit (question 2) and the last post...but how does it work

View Replies View Related

Quick Date

On the DATE function, if I want to delete everything that is more than 30 days old,
would I check for DATE-30?

View Replies View Related

Quick Timer

I building a page showing the different times in different parts of the world but if the local time is 08:15:25 and I subtract 10 hours, it displays 0-2:15:25. How can I show it as 22:15:25.

View Replies View Related

Real Quick

Im looking since the begining of the week about saving the enter(vbcrlf) from the html <textareato my MySql database, it save everything but it just loose everything when saving ot the database, do i need a special component to be able to save the enter and tabs etc. Im sure i was able to do it before and it was easy.

View Replies View Related

Quick Regex Question

I need a pattern to do this:

"?caid=[0-9]+&pgid=oRS("pgId")"

Where [0-9]+ means you need atleast 1 number there, the rest is just a string plus my recordset's variable. I know this syntax would work with the regex I learned at school but I'm not sure how to make it work in ASP.

View Replies View Related

Quick Dynamic Dropdown

Does anyone have a snippet to hand where i can create a dynamic dropdown for a credit card page, basically i need to dynamically create a drop-down populated with this year as 2006 and go back 4 years?

View Replies View Related

I Need A Quick Function Lesson...

if you have a function in an include file, and you copy that function and give it a different name.... and then you change the name in your call.. shouldn't it work just like the old function did?

View Replies View Related

Quick Question (Autoincrement)

I m using MSQL and I m trying to create table where the first column is autoincremented, this, however, generates a syntax error. I can t figure out the problem:

Create Table tblAuthor (ID int(11) auto_increment,AuthorName varchar(200), primary key(ID));

Error Message: Line 1: Incorrect syntax near 'auto_increment'.

View Replies View Related

Quick Search Code

can anyone tell me where i can get a good tutorial for a quick search.

View Replies View Related

Quick Drop Down Asp Menu

How can I add a quick drop down menu to an asp page? I've tried to incorporate javascript and I can't seem to make it work. I want it to replace the current navigation on this page.

http://www.compsports.com/poll.asp?No=1

View Replies View Related

Add A Quick Search Functionality In ASP Or ASP.NET Page

I want to add a "quick search" functionality in ASP or ASP.NET page. I heard
we can use Microsoft Indexing Service to accomplish the task, but not sure
how to do it. Is this the correct approach? Code:

View Replies View Related

How To Open Large HTML FILES IN EXCEL In Quick Time

i am using the following code to generate a xls file using the content type now when the user opnes the file at his pc it takes long time to open..if the no of records in file is large does the use of html tags has slow down the process of opening in excel. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved