|
-
Feb 22nd, 2004, 04:30 AM
#1
Thread Starter
Addicted Member
Uploading image from Sql Server
How do i upload image from my hard drive to SQL Server i with the code of reading the directory from the database
Dim oConn
Dim sql
dim strConn = "Data Source=SERVER2000;Initial Catalog=Education ;UID=UID; password=PASS;"
oConn = New SqlConnection(strConn)
oConn.Open()
sql = "SELECT ExDetailsDirectory " & _
"FROM ExercisesDetails " & _
"WHERE SubjectID = 142; "
this SQl gives me the directory - how do i store the directory name in variable and retrieve image from the HD to the SQL server???
ill apreciate any answer!!!
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
|