![]() | |
![]() |
| | Thread Tools | Search this Thread | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Usually, when I create a typed DataSet using the Visual Studio designer, IsColumnNameNull methods are automatically generated for each column in my tables. However, this time these methods were not created. I can not figure out how to get them. Any advice? Thanks. |
#3
| |||
| |||
|
|
Did you check if your columsn AllowDBNull? -- Miha Markic [MVP C#] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "Harry Keck" <HarryKeck (AT) discussions (DOT) microsoft.com> wrote in message news:0509F513-57AC-4B57-ABC6-9393B4A2B888 (AT) microsoft (DOT) com... Usually, when I create a typed DataSet using the Visual Studio designer, IsColumnNameNull methods are automatically generated for each column in my tables. However, this time these methods were not created. I can not figure out how to get them. Any advice? Thanks. |
#4
| |||
| |||
|
|
I think that is my problem. The AllowDBNull value must have been taken when I dragged the table definition into the designer from Server Explorer. I can not find a way to set AllowDBNull from the Visual Studio typed dataset designer, though. Do I need to do this directly in the XML, or am I just missing it somewhere else? "Miha Markic [MVP C#]" wrote: Did you check if your columsn AllowDBNull? -- Miha Markic [MVP C#] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "Harry Keck" <HarryKeck (AT) discussions (DOT) microsoft.com> wrote in message news:0509F513-57AC-4B57-ABC6-9393B4A2B888 (AT) microsoft (DOT) com... Usually, when I create a typed DataSet using the Visual Studio designer, IsColumnNameNull methods are automatically generated for each column in my tables. However, this time these methods were not created. I can not figure out how to get them. Any advice? Thanks. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
| |