idatareader


idatareader problem


why My idatareader make error .....?
byteSize = _reader.GetBytes(_reader.GetOrdinal(sFieldName), 0, null, 0, 0);
I want to retrive image from database here sFieldName is database column Name......it show me Specified cast is not valid. message ......what i do?work on c# window vs05....
sFieldName is a string ....it's the column name of database and column type is image
My database column name is "BoardImage"
sFieldName="BoardImage"
oBoardDetail.BoardImage =oReader.GetImage("BoardImage");
here oBoardDetail is a class object and BoardImage is a class property type Image
Most likely, the column sFieldname is not an Image or VarBinary column.
Please update the missing info on database system, table structure, select statement.

Related Links

idatareader problem

Categories

HOME
grok
webdriver
mysql-workbench
yahoo-finance
camera
requirements
gradient
bitbucket-api
rds
3d-reconstruction
hpc
vsm
elasticsearch-5
openstreetmap
watson-conversation
openbugs
atlassian
3nf
dimensional-modeling
enterprise-miner
lilypond
simpleitk
angular-routing
exit
short-url
gmock
beta
surveymonkey
interbase
android-things
failover
testcomplete
nsurl
utorrent
left-join
jmockit
autolisp
projects-and-solutions
password-protection
bc
railstutorial.org
linq-to-objects
attributeerror
escpos
signal-strength
monkey-testing
jboss-4.2.x
term
automapper-5
chai-as-promised
globalize
podscms
singleinstance
yii2-user
edit
filehandle
py2neo
testrail
usart
nservicebus5
php-socket
toast
contentcontrol
maybe
opl
qt5.2
extjs-grid
sony-lifelog-api
canvg
diff3
user-permissions
rrule
ghcjs
deform
spy++
genymotion-call
linkedin-jsapi
human-computer-interface
getopt
http-patch
c++builder-xe5
cascadingdropdown
midlet
monotouch.dialog
httponly
virtualpathprovider
jqote
massive
nhprof
qglwidget
interprocess
spread
cuda.net
interop-domino
escrow
business-model
commercial-application

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App