Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / October 2006

Tip: Looking for answers? Try searching our database.

Designer problems and Nullable types

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
schneider - 23 Oct 2006 23:27 GMT
[prev posting in windowsforms.controls]

The follow property fails in the designer, works initialy, but as soon as
the designer tries to reload the form it explodes. Anyone know how to fix
this?
Public Property DateTime() As Nullable(Of DateTime)

Thanks,

Schneider
Bryan Phillips - 26 Oct 2006 04:55 GMT
What code is generated in the code behind?

Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com

> [prev posting in windowsforms.controls]
>
[quoted text clipped - 6 lines]
>
> Schneider
schneider - 26 Oct 2006 22:31 GMT
I think thats the problem, It looks like a standard DateTime not a
Nullable(of DateTime).

So I guess we can't expose these as part of a public API and expect VS to
work?

That sucks..

Maybe we can specify for the serializer?

Schneider

> What code is generated in the code behind?
>
[quoted text clipped - 12 lines]
>>
>> Schneider
Bryan Phillips - 27 Oct 2006 05:22 GMT
Unfortunately, I can't see a way around the problem since it is a
serialization problem and not a designer one.

Bryan Phillips
MCSD, MCDBA, MCSE
Blog:  http://bphillips76.spaces.live.com

> I think thats the problem, It looks like a standard DateTime not a
> Nullable(of DateTime).
[quoted text clipped - 24 lines]
> >>
> >> Schneider

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.