|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Assign Binary recordset value to an asp variable
I have a sql statment that when I output a fields value it is in Binary. It shows as ?????????????????????????
I found a some code to output it in the format I want BUT I am at a loss as to how to get that format into a variable assignment. Here is my code: Response.write rs("staff_list") response.write "<br />" rs.movenext Response.BinaryWrite rs("staff_list") response.write "<br />" rs.movenext Response.BinaryWrite rs("staff_list") which outputs this: ????????????? 4,8,7,6,5,3,2,1,9 22,19,20,21,23,24,25,26,27 I want to populate an array from those values as I loop through a record set... WHen I try something like varx = BinaryRead(rs("staff_list")) I get an error.
__________________
Today the world, tomorrow the universe... |
|
#2
|
|||
|
|||
|
And code or any particular error message you'd like to share?
__________________
====== Doug G ====== "Hide, hide witch! The good folk come to burn thee. Their keen enjoyment hid behind their gothic mask of duty." -Mark Clifton |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Assign Binary recordset value to an asp variable |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|