TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
microsoc_315
NA
1
0
Compile-time type checking
Sep 17 2003 9:45 PM
Hi! I have this (for me it's a big problem)problem, the first one is how can you pass a DBNull & a null value in an integer type varible/property? I have come up with the solution to this problem by making the variable/property to an object type. But in an object type variable/property you can pass any data type value and I only want to pass an int type, DBnull & null value to this variable/property. I know you can do this by the GetType method but i want to filter it during compile time. I don't know if it's possible but any suggesstions will be welcome. Thank you very much!
Reply
Answers (
1
)
C# Text replacement
How to prevent a datacolumn of gridview displaying null