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!!!