[Mono-bugs] [Bug 80354][Wis] New - DataGridView not shown

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Sun Dec 24 14:35:15 EST 2006


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 kobruleht2 at hot.ee.

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

--- shadow/80354	2006-12-24 14:35:15.000000000 -0500
+++ shadow/80354.tmp.14653	2006-12-24 14:35:15.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 80354
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com                            
+ReportedBy: kobruleht2 at hot.ee               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DataGridView not shown
+
+To reproduce:
+
+Run the code
+
+Observed:
+
+Empty form
+
+Expected:
+
+Form should contain grid.
+
+using System.Windows.Forms;
+using System.Data;
+static class Program {static void Main(){
+Application.Run(new Frm());}}
+
+class Frm : Form {
+
+public Frm() {
+DataTable dt = new DataTable();
+DataColumn column = new DataColumn();
+column.AllowDBNull = false;
+dt.Columns.Add(column);
+dt.Rows.Add("");
+DataGridView dg= new DataGridView();
+this.Controls.Add(dg);
+dg.DataSource = dt;
+} }


More information about the mono-bugs mailing list