Search Results

Showing results 1 to 40 of 65
Search took 0.01 seconds.
Search: Posts Made By: campkev ; Forum: ASP and child forums
Forum: ASP Jul 11th, 2007
Replies: 3
Views: 10,055
Posted By campkev
Forum: ASP May 23rd, 2007
Replies: 2
Views: 1,593
Posted By campkev
???? What kind of resources? What are you trying to do?
Forum: ASP May 14th, 2007
Replies: 2
Views: 1,253
Posted By campkev
Forum: ASP Feb 7th, 2007
Replies: 2
Views: 1,399
Posted By campkev
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
Posted By campkev
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
Solved: ASP To Access
Views: 2,532
Posted By campkev
post your code that is giving this error
Forum: ASP Feb 2nd, 2007
Replies: 2
Views: 3,064
Posted By campkev
checked that. I am using sql server and it is there
Forum: ASP Jan 30th, 2007
Replies: 4
Views: 1,525
Posted By campkev
http://www.w3schools.com/js/js_functions.asp

same site, different page
Forum: ASP Jan 30th, 2007
Replies: 2
Views: 6,140
Posted By campkev
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
Posted By campkev
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
Posted By campkev
it should be 24 hour time
Forum: ASP Jan 30th, 2007
Replies: 3
Views: 1,860
Posted By campkev
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
Posted By campkev
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
Posted By campkev
use this as your query
SELECT TOP 5 name FROM tblfriends
ORDER BY NEWID()
Forum: ASP Oct 25th, 2006
Replies: 1
Views: 1,541
Posted By campkev
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
Posted By campkev
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
Posted By campkev
glad you got it working
Forum: ASP Aug 30th, 2006
Replies: 2
Views: 2,339
Posted By campkev
password is spelled wrong
Forum: ASP Aug 29th, 2006
Replies: 3
Views: 4,253
Posted By campkev
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
Posted By campkev
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
Posted By campkev
rs.NextRecordset look here
http://www.w3schools.com/ado/met_rs_nextrecordset.asp
Forum: ASP Aug 29th, 2006
Replies: 1
Views: 11,444
Posted By campkev
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
Posted By campkev
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
Posted By campkev
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
Posted By campkev
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
Posted By campkev
can you post your output?
Forum: ASP Jul 24th, 2006
Replies: 6
Views: 1,501
Posted By campkev
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
Posted By campkev
if stud_id is int, why are you surrounding it with single quotes?
Forum: ASP Jul 21st, 2006
Replies: 2
Views: 2,559
Posted By campkev
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
Posted By campkev
what database are you using and what type of field is stud_id
Forum: ASP Jul 21st, 2006
Replies: 1
Views: 3,644
Posted By campkev
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
Posted By campkev
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
Posted By campkev
i don't see anything fancy there, just straight html and some javascript.
Forum: ASP Jun 25th, 2006
Replies: 1
Views: 1,394
Posted By campkev
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
Posted By campkev
Hence my comment that javascript is the way to go
Forum: ASP Jun 12th, 2006
Replies: 4
Views: 5,005
Posted By campkev
it might be possible, but javascript is really the best way to handle it
Forum: ASP Jun 2nd, 2006
Replies: 3
Views: 7,922
Posted By campkev
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
Posted By campkev
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
Posted By campkev
um, that's kinda vague. Can you be a little more specific
Forum: ASP May 23rd, 2006
Replies: 1
Views: 4,214
Posted By campkev
are you looking for something like this?

Set dbConn = Server.CreateObject("ADODB.Connection")
dbConn.ConnectionTimeout = 60
dbConn.CommandTimeout = 300
dbConn.Open...
Showing results 1 to 40 of 65

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC