The difference between null and DBNull.Value
2008-07-19 00:21
549 查看
"null" means the object reference is invalid in .NET, when you retrieve a NULL value from the Database, it is a valid value to .NET, and it is represented by System.DBNull.Value.
null在.net中意思是对象无效,但是当你在数据库中查找NULL值时,对于.net确是有效的,他的值就是DBNull.Value
null在.net中意思是对象无效,但是当你在数据库中查找NULL值时,对于.net确是有效的,他的值就是DBNull.Value
相关文章推荐
- test the difference between "DEFAULT NULL" and "DEFAULT 0"
- what is the difference between "isempty"and "isnull"in the qt bool QString::isEmpty () const Retur.
- What’s the Difference Between a Value Provider and Model Binder?
- Django tips: the difference between 'blank' and 'null'
- Have You Ever Wondered About the Difference Between NOT NULL and DEFAULT?
- What is the difference between objectForKey and valueForKey?
- The difference between the int value ++; and the value;
- test the difference between "DEFAULT NULL" and "DEFAULT 0"
- The difference between null and isEmpty in Groovy
- test the difference between "DEFAULT NULL" and "DEFAULT 0"
- what is the difference between Association, Dependence, Aggregation and Composition
- The difference between equals and == of Java
- What is the difference between tag and branch-id?
- The difference between Proxy and CGLIB
- Visual Studio中“生成”与“重新生成”的区别(The difference between "build" and "rebuild")
- What is the difference between a URI, a URL and a URN
- Q & A: The difference between hard and soft links
- Is punishment necessary to help children learn the difference between right and wrong?
- Difference between the having clause and the group by statement
- Differences between the C Locale and the C++ Locales