PC Review


Reply
Thread Tools Rate Thread

dataset columns with system.dbnull

 
 
Buho
Guest
Posts: n/a
 
      30th Dec 2005
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...

 
Reply With Quote
 
 
 
 
Marina
Guest
Posts: n/a
 
      30th Dec 2005
No, never heard of this issue. You will have to post relevant code or a
short example illustrating the problem.

"Buho" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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...
>



 
Reply With Quote
 
Robbe Morris [C# MVP]
Guest
Posts: n/a
 
      30th Dec 2005
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





"Buho" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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...
>



 
Reply With Quote
 
Buho
Guest
Posts: n/a
 
      30th Dec 2005
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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I check to see if a dataset has a DBNull value =?Utf-8?B?RGF2ZQ==?= Microsoft C# .NET 19 30th Oct 2006 07:08 PM
Deleting from typed DataSet - why DBNull error? deko Microsoft ADO .NET 0 12th Mar 2006 07:26 AM
Columns system.dbnull Buho Microsoft ADO .NET 0 4th Jan 2006 03:32 PM
How do I detect a DBNull in a strongly typed DataSet? Jack Microsoft ADO .NET 0 12th Jul 2004 07:33 PM
How to determin if dataset calculated column is dbnull moondaddy Microsoft ADO .NET 10 5th Apr 2004 09:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:57 AM.