https://bugzilla.novell.com/show_bug.cgi?id=422475

User [email protected] added comment
https://bugzilla.novell.com/show_bug.cgi?id=422475#c2


Michail Ushakov <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW
      Info Provider|[email protected]            |




--- Comment #2 from Michail Ushakov <[email protected]>  2009-02-20 07:42:11 MST 
---
using System;
using System.Data;

namespace DataSetSerializie
{
    class Program
    {
        static void Main(string[] args)
        {
            DataSet ds = new DataSet();
            DataTable tbl = ds.Tables.Add();
            DataColumn c1 = tbl.Columns.Add("Col1", typeof(string));
            tbl.Rows.Add(new object[]{"TestCatalog"});
            tbl.Rows.Add(new object[]{null});
            tbl.AcceptChanges();
            DataColumn pk = tbl.Columns.Add("pk", typeof(string));
            foreach (DataRow dr in tbl.Rows)
                dr[pk] = "111";

            ds.WriteXml("test1.xml", XmlWriteMode.DiffGram);
        }
    }
}

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to