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
django
google-spreadsheet
mjml
mysql-workbench
apiblueprint
devise
echo
pattern-matching
arangodb
fhir
gson
project-intu
xcodebuild
ipmitool
code-generation
shared-libraries
mathprog
google-data-studio
smartclient
selinux
named-entity-recognition
roslyn
joptionpane
object-storage
highstock
onload
asymptotic-complexity
linked-data
subclass
constexpr
custom-controls
send
scatter3d
paragraph
cart
sharding
yowsup
docfx
git-rewrite-history
google-earth-engine
timing
tex
kill
resolution
azure-arm
visa
stringtokenizer
watchface
linqpad
xmldocument
vaadin-elements
facebook-pixel
pair-programming
wpas
yii2-user
cd-burning
vibrate
materialized-path-pattern
chromium-os
autosar
flex-monkey
actor-platform
adafruit
greatest-n-per-group
neon
mongodb-php
cifilter
aurora
uiactionsheet
createprocess
sha512
branch-and-bound
cwrsync
entity-framework-4.3
cakephp-2.7
actionfilterattribute
cocos3d
teaspoon
spring-remoting
cfcache
synapse
isqlquery
kogrid
mvc-editor-templates
os.system
iboutlet
paginator
denied
catransform3d
event-receiver
cuteeditor
unattended-processing
ruby-1.8
web-garden
scrollbars
echo3
filesystemobject
great-circle

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