Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=79265

--- shadow/79265        2006-11-04 11:58:24.000000000 -0500
+++ shadow/79265.tmp.11114      2007-04-30 12:56:29.000000000 -0400
@@ -65,6 +65,45 @@
 ------- Additional Comments From [EMAIL PROTECTED]  2006-09-05 11:22 -------
 Changing to the 2.0 milestone, since the datagridview is a 2.0 control.
 
 ------- Additional Comments From [EMAIL PROTECTED]  2006-11-04 11:58 -------
 Please, make a sample without database that shows the bug. For example
 you can use XML/DataSet to feed the DataGridView.
+
+------- Additional Comments From [EMAIL PROTECTED]  2007-04-30 12:56 -------
+Here is code to reproduce the issue.
+
+using System.Windows.Forms;
+using System.Data;
+using System;
+using System.IO;
+
+static class Program {
+  static void Main() {
+      Application.Run(new Frm());
+  }
+}
+
+class Frm : Form {
+  public Frm() {
+
+    System.Data.DataSet dataSet1 = new DataSet();
+
+       StringReader strReader = new StringReader(@"<?xml 
+version=""1.0"" standalone=""yes""?>
+<NewDataSet>
+  <Table>
+    <kood>1           </kood>
+    <nimi>Firma ise, 1. 
+arveldusarve                                                      
+</nimi>
+  </Table>
+</NewDataSet>
+");
+    
+       dataSet1.ReadXml(strReader);
+    DataGridView dataGrid1 = new DataGridView();
+    Controls.Add(dataGrid1);
+    dataGrid1.AutoGenerateColumns = true;
+    dataGrid1.DataSource = dataSet1.Tables[0];
+  }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to