Forum: ASP Jul 11th, 2007 |
| Replies: 3 Views: 10,055 |
Forum: ASP May 23rd, 2007 |
| Replies: 2 Views: 1,593 ???? What kind of resources? What are you trying to do? |
Forum: ASP May 14th, 2007 |
| Replies: 2 Views: 1,253 |
Forum: ASP Feb 7th, 2007 |
| Replies: 2 Views: 1,399 ok, found your original post. Your problem is you have no connection string telling it what type of db this is("access") or what the file name of your access database is
you need to pass it... |
Forum: ASP Feb 7th, 2007 |
| Replies: 2 Views: 1,399 what's the error? is this from another thread? why didn't you post as followup in that thread instead of starting new thread? |
Forum: ASP Feb 5th, 2007 |
| Replies: 3 Views: 2,532 post your code that is giving this error |
Forum: ASP Feb 2nd, 2007 |
| Replies: 2 Views: 3,064 checked that. I am using sql server and it is there |
Forum: ASP Jan 30th, 2007 |
| Replies: 4 Views: 1,525 http://www.w3schools.com/js/js_functions.asp
same site, different page |
Forum: ASP Jan 30th, 2007 |
| Replies: 2 Views: 6,140 here's something that might get you on the right track
try sorting by secondary field first then sort again by primary |
Forum: ASP Jan 30th, 2007 |
| Replies: 4 Views: 1,525 1) http://www.w3schools.com/vbscript/vbscript_ref_functions.asp
2)if you can get them to share them with you |
Forum: ASP Jan 30th, 2007 |
| Replies: 3 Views: 1,860 it should be 24 hour time |
Forum: ASP Jan 30th, 2007 |
| Replies: 3 Views: 1,860 problem is not with the date function.
you are comparing the string "h" to the string "12"
"h" < "12" is always going to return false
you need to compare your variable h to the number 12
h... |
Forum: ASP Jan 9th, 2007 |
| Replies: 2 Views: 3,064 Having a problem connecting via dsn on windows 2003 x64. Keep getting :
ADODB.Connection error '800a0ea9'
Provider is not specified and there is no designated default provider.
Code works... |
Forum: ASP Dec 22nd, 2006 |
| Replies: 2 Views: 2,978 use this as your query
SELECT TOP 5 name FROM tblfriends
ORDER BY NEWID() |
Forum: ASP Oct 25th, 2006 |
| Replies: 1 Views: 1,541 update TABLENAME set
score1 = score1+30,
score2=score2+30,
score3 =score3+30
where id in (7,5,9) |
Forum: ASP Sep 1st, 2006 |
| Replies: 4 Views: 10,478 I don't have time to look through the code but I am guessing the connection is opened and not closed somewhere. I'm betting that you have to reset IIS or reboot to get it working again, yes? |
Forum: ASP Aug 30th, 2006 |
| Replies: 4 Views: 4,730 |
Forum: ASP Aug 30th, 2006 |
| Replies: 2 Views: 2,339 password is spelled wrong |
Forum: ASP Aug 29th, 2006 |
| Replies: 3 Views: 4,253 no, not passing an attributes to it, just need to get a value back from it |
Forum: ASP Aug 29th, 2006 |
| Replies: 3 Views: 4,253 anybody know any tricks for executing aspx pages from asp pages.
basically I need to do something like this
<%
strResult = Server.Execute("otherPage.aspx")
%> |
Forum: ASP Aug 29th, 2006 |
| Replies: 1 Views: 21,747 rs.NextRecordset look here
http://www.w3schools.com/ado/met_rs_nextrecordset.asp |
Forum: ASP Aug 29th, 2006 |
| Replies: 1 Views: 11,444 it's a bit of a hack but this will work
if(fileName <> "../flash/<%= flashSource "&"%"&">" ) then |
Forum: ASP Aug 29th, 2006 |
| Replies: 4 Views: 4,730 from the information you have given, this shouldn't be happening. Let's try this, run sql profiler then load the page and watch what is actually being sent from asp to sql. |
Forum: ASP Aug 8th, 2006 |
| Replies: 2 Views: 4,134 i would run some tests on your email server and see. however I would have to guess that one message with lots of recipients would be much better |
Forum: ASP Aug 1st, 2006 |
| Replies: 2 Views: 12,040 if you know that it should always be only two question marks, here is something a little easier
<%
inputString = "<img src=""hello.jpg"">"
inputString = Replace(inputString, """", Chr(0))
... |
Forum: ASP Jul 24th, 2006 |
| Replies: 4 Views: 1,884 can you post your output? |
Forum: ASP Jul 24th, 2006 |
| Replies: 6 Views: 1,501 this part.
although it shouldn't matter, it is just unnecessary.
if I had to guess then I would say that this .....
if request.QueryString("id")<>"" then
stud_id =... |
Forum: ASP Jul 23rd, 2006 |
| Replies: 6 Views: 1,501 if stud_id is int, why are you surrounding it with single quotes? |
Forum: ASP Jul 21st, 2006 |
| Replies: 2 Views: 2,559 you need to specify which website to look in.
under iisadmin what is the name of your website?
in your browser, you want to type in something like
http://localhost/mywebsitename/index.html |
Forum: ASP Jul 21st, 2006 |
| Replies: 6 Views: 1,501 what database are you using and what type of field is stud_id |
Forum: ASP Jul 21st, 2006 |
| Replies: 1 Views: 3,644 you want the InStr function
example
blnOkToPost = true
if InStr(Request.form("text"), "www.") then blnOkToPost = false
if InStr(Request.form("text"), "]") then blnOkToPost = false
if... |
Forum: ASP Jun 28th, 2006 |
| Replies: 1 Views: 4,172 Function NumUpperCase(x)
a = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
count = 0
for c = 1 to Len(x)
if InStr(a,Mid (x,c,1)) > 0 then count = count+1
next
NumUpperCase = count
End Function |
Forum: ASP Jun 27th, 2006 |
| Replies: 1 Views: 1,182 i don't see anything fancy there, just straight html and some javascript. |
Forum: ASP Jun 25th, 2006 |
| Replies: 1 Views: 1,394 by putting the single quotes around the it, you are making it text instead of a number. also you are leaving yourself open to a sql injection attack. you want this
Userid =... |
Forum: ASP Jun 12th, 2006 |
| Replies: 4 Views: 5,005 Hence my comment that javascript is the way to go |
Forum: ASP Jun 12th, 2006 |
| Replies: 4 Views: 5,005 it might be possible, but javascript is really the best way to handle it |
Forum: ASP Jun 2nd, 2006 |
| Replies: 3 Views: 7,922 here,
save this in a file called pc.js
var calWindow;
var targetField;
var today = new Date();
var dayofmonth = today.getDate();
var startDate;
var selectDate;
var prevMonth; |
Forum: ASP Jun 1st, 2006 |
| Replies: 2 Views: 991 I would do two things:
on the front end when displaying the list of available classes, check the number of students already enrolled.
On the back end, use a stored procedure to add a student... |
Forum: ASP May 31st, 2006 |
| Replies: 3 Views: 1,283 um, that's kinda vague. Can you be a little more specific |
Forum: ASP May 23rd, 2006 |
| Replies: 1 Views: 4,214 are you looking for something like this?
Set dbConn = Server.CreateObject("ADODB.Connection")
dbConn.ConnectionTimeout = 60
dbConn.CommandTimeout = 300
dbConn.Open... |