WPF : Nullable property problem
Last Post 08 Dec 2008 03:54 PM by JoncEIT. 0 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
JoncEIT
New Member
New Member
Posts:9

--
08 Dec 2008 03:54 PM  
Hi,


I have a table with collumns (eventId for example) whose allow null in my sql server. When i try to add one item in my table, i have this error : "Object cannot be saved"

I'm looking at brokenRulesCollection : "EventId must be a numeric value"
When i'm looking at my BlObject.EventId value, it's null.

In my object Designer, EventId is nullable. i.e: "private System.Nullable<int> _EventId;"

So, I don't understand why it's doing that.

Thanks for your time,


Jonathan T.

You are not authorized to post a reply.

Active Forums 4.1
NOT LICENSED FOR PRODUCTION USE
www.activemodules.com
Connexion / Register