Click here to Skip to main content
15,904,346 members
Home / Discussions / C#
   

C#

 
QuestionDataSet does not support System.Nullable Pin
Brady Kelly20-Jun-07 5:25
Brady Kelly20-Jun-07 5:25 
I am trying to build a DataTable from a TList<t>, which is a collection of T business objects. I am using reflection to get all the properties of T, and then loop through them creating DataColumn objects. However, I get an error when I try and create a new column where a property of T is nullable. Is there a quick way around this? Looking at the type name for a nullable property of T is also pretty confusing, as the type name is "Nullable`1".

"A little learning is a dangerous thing; drink deep, or taste not the Pierian spring: there shallow draughts intoxicate the brain, and drinking largely sobers us again.", by Alexander Pope

My New Blog

AnswerRe: DataSet does not support System.Nullable PinPopular
Lisa Jorgensen20-Jun-07 7:29
Lisa Jorgensen20-Jun-07 7:29 
GeneralRe: DataSet does not support System.Nullable Pin
Brady Kelly20-Jun-07 7:47
Brady Kelly20-Jun-07 7:47 
SuggestionRe: DataSet does not support System.Nullable Pin
WiiMaxx24-Apr-14 1:29
WiiMaxx24-Apr-14 1:29 
QuestionAdvanced Search Pin
arslanjatt20-Jun-07 5:10
arslanjatt20-Jun-07 5:10 
AnswerRe: Advanced Search Pin
nateraaaa20-Jun-07 5:56
nateraaaa20-Jun-07 5:56 
Questionevent extender providers? Pin
TheShaver20-Jun-07 4:48
TheShaver20-Jun-07 4:48 
AnswerRe: event extender providers? Pin
Luc Pattyn20-Jun-07 4:52
sitebuilderLuc Pattyn20-Jun-07 4:52 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:14
TheShaver20-Jun-07 5:14 
AnswerRe: event extender providers? Pin
Martin#20-Jun-07 4:57
Martin#20-Jun-07 4:57 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:11
TheShaver20-Jun-07 5:11 
AnswerRe: event extender providers? Pin
Martin#20-Jun-07 5:07
Martin#20-Jun-07 5:07 
GeneralRe: event extender providers? Pin
TheShaver20-Jun-07 5:20
TheShaver20-Jun-07 5:20 
GeneralRe: event extender providers? Pin
Martin#20-Jun-07 5:23
Martin#20-Jun-07 5:23 
QuestionAnyone know of a web service like this? Pin
gantww20-Jun-07 4:30
gantww20-Jun-07 4:30 
AnswerRe: Anyone know of a web service like this? Pin
nateraaaa20-Jun-07 6:06
nateraaaa20-Jun-07 6:06 
QuestionTaking control of an already running process.. Pin
Ylno20-Jun-07 4:26
Ylno20-Jun-07 4:26 
AnswerRe: Taking control of an already running process.. Pin
Martin#20-Jun-07 4:29
Martin#20-Jun-07 4:29 
QuestionError in Web.Config page Pin
shyamts20-Jun-07 3:59
shyamts20-Jun-07 3:59 
AnswerRe: Error in Web.Config page Pin
Manas Bhardwaj20-Jun-07 4:02
professionalManas Bhardwaj20-Jun-07 4:02 
AnswerRe: Error in Web.Config page Pin
Not Active20-Jun-07 4:28
mentorNot Active20-Jun-07 4:28 
GeneralRe: Error in Web.Config page Pin
shyamts20-Jun-07 17:05
shyamts20-Jun-07 17:05 
GeneralTimer not firing Pin
hairy_hats20-Jun-07 3:56
hairy_hats20-Jun-07 3:56 
AnswerRe: Timer not firing Pin
Martin#20-Jun-07 4:00
Martin#20-Jun-07 4:00 
GeneralRe: Timer not firing Pin
hairy_hats20-Jun-07 4:24
hairy_hats20-Jun-07 4:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.