|
-
Feb 6th, 2004, 03:20 AM
#1
Thread Starter
Addicted Member
help with this syntax
guys i need your here pls tell me what is wrong with this statement
My Picture column contain this picture\upload\123.gif
VB Code:
path=rs.fields(picture)
server.mappath(path)//error line
if i do the above code i will get a type mismatch error
VB Code:
path="picture\upload\123.gif"
server.mappath(path)
but if i do this then every thing turns out fine...
What is wrong with this!??

Akababy.Net... Life Redefined!
-
Feb 6th, 2004, 03:29 AM
#2
Fanatic Member
try this:
Code:
path=rs.fields("picture")
server.mappath(path)//error line
or:
Code:
path=rs("picture")
server.mappath(path)//error line
-
Feb 6th, 2004, 03:39 AM
#3
Thread Starter
Addicted Member
still the same type mismatch error

Akababy.Net... Life Redefined!
-
Feb 6th, 2004, 03:48 AM
#4
Thread Starter
Addicted Member

Akababy.Net... Life Redefined!
-
Feb 6th, 2004, 04:03 AM
#5
What do you get with a Response.Write of the rs.fields("Picture")
?
-
Feb 6th, 2004, 07:38 PM
#6
Thread Starter
Addicted Member
u can follow the link that i put in the previous post to take alook

Akababy.Net... Life Redefined!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|