Forráskód Böngészése

2003-01-28 Ville Palo <[email protected]>

	* DataSet.cs: One little fix to writing xml

svn path=/trunk/mcs/; revision=10995
Ville Palo 23 éve
szülő
commit
fedbec797e

+ 4 - 0
mcs/class/System.Data/System.Data/ChangeLog

@@ -1,3 +1,7 @@
+2003-01-28  Ville Palo <[email protected]>
+
+	* DataSet.cs: One little fix to writing xml
+	
 2003-01-27  Ville Palo <[email protected]>
 
 	* XmlSchemaMapper.cs: Some fixes.

+ 1 - 1
mcs/class/System.Data/System.Data/DataSet.cs

@@ -605,7 +605,7 @@ namespace System.Data {
 						string colnspc = nspc;
 						object rowObject = row [col];
 												
-						if (rowObject == null)
+						if (rowObject == null || rowObject == DBNull.Value)
 							continue;
 
 						if( col.Namespace != null )