v-wywang
3/28/2008 10:28:00 AM
Hello Jeff,
Thanks for Dave's tip. Odbccomand.ExecuteScalar() should return the bytes
in the first filed. If you found it's null and the length of byte array is
0, this means odbcDataCommand cannot found any byte in underling datatable.
I'm sorry, but it's not possible for me to install Progress database
version 10.0B on my machine. It's a 3rd party product. (I think it's Excel
or Access database before...). We suggest you may check if there is any
binary data in underling database table. odbcdatareader.GetBytes() returns
the actual number of bytes read. If the value is zero, I believe this is
because odbcdatareader cannot read data from table. This shouldn't be a
breaking change...
Hope this helps. If you have any more concern, please feel free to let us
know. We are glad to assist you.
Have a great day,
Best regards,
Wen Yuan
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msdnmg@microsoft.com.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.