Nullable Int Column in DataSet

前端 未结 3 1114
一个人的身影
一个人的身影 2021-01-12 09:52

I\'m working with .NET strongly-typed datasets and have a table with a nullable int column (and a nullable DateTime column as well).

Apparently there is a bug with t

3条回答
  •  醉梦人生
    2021-01-12 10:40

    It's been a while since I used typed DataSets, but I see in my old code that use codegen:nullValue attribute. I don't think it's supported by the designer, at least not in VS2005 (which I used for that project), so you'd have to open your xsd file in the xml editor and do it by hand.

    The resulting xml would look something like this:

    
        
        
        
    
    

提交回复
热议问题