Groups | Blog | Home
all groups > dotnet ado.net > december 2005 >

dotnet ado.net : dataset columns with system.dbnull


Buho
12/30/2005 8:42:41 AM
Hi everyone(happy new year!!),


Well, here we go... I have a problem with datsets, ado.net as i
understand ..I have a sp that in query analizer retrieve 13 columns and

the last 3 like the others have data, but when i see the dataset which
gets the data the last columns are system.dbnull, and here after
several tests, i am begging your help guys...did anyone have this
problem???? i ll be thankfull really for any help u can post...


Thanks in advance...
Marina
12/30/2005 11:50:50 AM
No, never heard of this issue. You will have to post relevant code or a
short example illustrating the problem.

[quoted text, click to view]

Buho
12/30/2005 12:26:35 PM
I just read a kb article that gave me some hope but nothing, i was
checking the Stored Proc but it dont use any of the causes of this bug,
here is for someone :P who need it:
FIX: Data Loss Occurs When You Deserialize a Serialized Dataset When
Column Names Contain a Colon Character

Pd: Thanks for the answers
Robbe Morris [C# MVP]
12/30/2005 1:03:14 PM
I'd try putting any of the ntext/text or image data types
at the end of your select clause.

--
Robbe Morris - 2004/2005 Microsoft MVP C#
http://www.eggheadcafe.com/forums/merit.asp





[quoted text, click to view]

AddThis Social Bookmark Button