Welcome to MSDN Blogs Sign in | Join | Help

June 2008 - Posts

DBNull and Nullable types

When we have C# code interacting with the data base you run into this problem. Let me try and explain it. The database has nullable columns and C# has nullable types. For example, let us take a table Employee which has Id (int), name (string) and age
 
Page view tracker