Search the web
Sign In
New User? Sign Up
active-server-pages · Active Server Pages Developers' List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 5767 - 5796 of 12395   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
5767
You could use the SQL Server function GetDate() - that'll return both the date and the time. To do so do this :- strSQL = "INSERT INTO v_deal_history (dealID,...
Powderhill, Daniel
danaspelite
Offline Send Email
Jul 1, 2003
8:33 am
5768
Hi Group, I'm having a problem with cookies. I am using IIS5 on my local machine to develop a web site. I have created a logon page that checks the username...
Darryl
Fairlane6
Offline Send Email
Jul 1, 2003
9:03 am
5769
Hi I have am using following code to generate a word document from a web site using ASP thusly: Response.ContentType = "application/msword" Response.AddHeader...
Mike Hutchins
admiral_blake
Offline Send Email
Jul 1, 2003
3:20 pm
5770
I have a database .asp that I want to write an if then statement for, I want to be able to change the color of the table cell based on the response from the...
jess_me_77
Offline Send Email
Jul 1, 2003
3:37 pm
5771
Here you go (replace GetValueFromDatabase() with your value from the DB) :- dim boolRed boolRed = GetValueFromDatabase() response.write "<td bgcolor=""#" if...
Powderhill, Daniel
danaspelite
Offline Send Email
Jul 1, 2003
3:44 pm
5772
hello friends i have a huge customerhistory table, which stores every action done on a customer. i need to query out conditions where there was some specific...
Smit N Shah
ullfindsmit
Online Now Send Email
Jul 1, 2003
4:25 pm
5773
i had the same problem. what i did is instead of creating a virtual directory, i put the files inside wwwroot folder, and it worked. ... From: Darryl To:...
bedgawk@...
bedgawk
Offline Send Email
Jul 1, 2003
4:37 pm
5774
can anyone suggest a good download site for ASP server behaviors for Dreamweaver MX (besides Macromedia)? thanks....
bedgawk@...
bedgawk
Offline Send Email
Jul 1, 2003
4:39 pm
5775
Okay--this is the script I have on my page: Dim boolred boolred = GetValueFromDatabase("Response") response.write "<td bgcolor=""#" if boolred = true then ...
jess_me_77
Offline Send Email
Jul 1, 2003
6:05 pm
5776
What is "GetValueFromDatabase?" That needs to be a function that you've defined. You must have just copied and pasted this code from somewhere but didn't...
Costanzo, Ray
rcostanzo@...
Send Email
Jul 1, 2003
6:07 pm
5777
What is GetValueFromDatabase("Response")? Show us the script you use to get the value from the database....
Brian
brianrpl
Offline Send Email
Jul 1, 2003
6:18 pm
5778
... <% if rs("foo") = somevalue then strbgcolor = "RED" else strbgcolor = "GRAY" end if %> <TR> <TD bgcolor="<%= strbgcolor %>">CELL VALUE</TD> </TR>...
Chris Hagwood
chris_hagwood
Offline Send Email
Jul 1, 2003
6:24 pm
5779
I asked earlier for help writing an if the statement that will allow me to change to table cell color depending upon the value in the database. This is the...
jess_me_77
Offline Send Email
Jul 1, 2003
6:31 pm
5780
what is rs("foo")??? ... to...
jess_me_77
Offline Send Email
Jul 1, 2003
6:32 pm
5781
Is the value in the WHERE a variable (e.g., WHERE id = "&Request.Form("Id"))? If so have you checked to make sure there is a value in the variable? When I...
Mike Schelling
duyenkim001
Offline Send Email
Jul 1, 2003
6:37 pm
5782
An example. rs = recordset, foo=columnname. Ray at work ... ...
Costanzo, Ray
rcostanzo@...
Send Email
Jul 1, 2003
6:38 pm
5783
Both of those if else statements will work. I like Chris's. <% if rs("foo") = somevalue then strbgcolor = "RED" else strbgcolor = "GRAY" end if %> <TR> <TD...
Brian
brianrpl
Offline Send Email
Jul 1, 2003
6:41 pm
5784
You're not stupid. You're just trying to run a marathon while you're still a zygote. Did you see the part where someone wrote "(replace ...
Costanzo, Ray
rcostanzo@...
Send Email
Jul 1, 2003
6:41 pm
5785
Sorry to keep bothering you--you probably are thinking "what an idiot"(haha) This is the tag I have in my document. It is not working--do you see a problem--...
jess_me_77
Offline Send Email
Jul 1, 2003
6:49 pm
5786
The last line needs a closing double quotation mark, for starters. -Ron...
Ron Hornbaker
humankindsys...
Offline Send Email
Jul 1, 2003
6:54 pm
5787
Yeah, I noticed that, but then it tells me variable undefined ... Title")...
jess_me_77
Offline Send Email
Jul 1, 2003
6:57 pm
5788
Unless "Now" is both your table name and your DNS name and "OnTidbits" is really what you are calling the variable for your recordset....... The problem is...
WB Carver
WebbTrixx
Offline Send Email
Jul 1, 2003
7:00 pm
5789
http://aspfaq.com/show.asp?id=2246...
Wade Armstrong
juniorbird_47
Offline Send Email
Jul 1, 2003
7:46 pm
5790
Hi Jess,,,, ,,,, I often use this form of writing inline asp code: <% if rs("field1") = "true" then %> <td bgcolor="#FF0000"> whatever </td> <% else %> <td...
Dave
mixxxx206
Offline Send Email
Jul 1, 2003
9:20 pm
5791
you have to use a defined object. (recordset object and field name) rsWhatever("fieldname") you create that by this: set rsWhatever = conn.execute(sql) //...
Dave
mixxxx206
Offline Send Email
Jul 1, 2003
9:31 pm
5792
Hello,,,, ,,,, I never really used server behaviors that much, but here's a good site. http://www.fwzone.net bedgawk@... wrote: can anyone suggest a...
Dave
mixxxx206
Offline Send Email
Jul 1, 2003
9:36 pm
5793
"rs" is the recordset you create e.g., <% sql = "select * from tablename" set rs = conn.execute(sql) %> "foo" is the name of the database field name you are...
Dave
mixxxx206
Offline Send Email
Jul 1, 2003
9:41 pm
5794
You are NOT!! stupid. Most of the mistakes you've made, I've made twice over. All of us has been there. You are stupid when you don't bother to ask. If not,...
Dave
mixxxx206
Offline Send Email
Jul 1, 2003
11:04 pm
5795
Hello all,,,, ,,,, Ron is absolutly correct. Whenever you do a response.write such as: <% response.write("<td bgcolor=""##0000FF"">whatever</td>") ...
Dave
mixxxx206
Offline Send Email
Jul 2, 2003
12:20 am
5796
you can also make it look more sensical and just use single apostrophes. e.g. response.write("<td bgcolor='##0000FF'>whatever</td>") that's what i use anyway....
Adrian Miller
cyberwharfy
Offline Send Email
Jul 2, 2003
2:46 am
Messages 5767 - 5796 of 12395   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help