[Mono-bugs] [Bug 80168][Wis] New - DataGrid with empty DataTable as DataSource looks different
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Dec 6 10:11:19 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 georgegiolfan at yahoo.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80168
--- shadow/80168 2006-12-06 10:11:19.000000000 -0500
+++ shadow/80168.tmp.4615 2006-12-06 10:11:19.000000000 -0500
@@ -0,0 +1,47 @@
+Bug#: 80168
+Product: Mono: Class Libraries
+Version: 1.2
+OS: Windows XP
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: toshok at ximian.com
+ReportedBy: georgegiolfan at yahoo.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: DataGrid with empty DataTable as DataSource looks different
+
+Description of Problem:
+DataGrid with empty DataTable as DataSource looks different (lacks the row
+for column names).
+
+Steps to reproduce the problem:
+Compile and run the following program
+using System.Data;
+using System.Windows.Forms;
+class TestForm : Form {
+ static void Main() {
+ Application.Run(new TestForm());
+ }
+ public TestForm() {
+ DataGrid DataGrid = new DataGrid();
+ DataGrid.Dock = DockStyle.Fill;
+ DataTable DataTable = new DataTable();
+ DataGrid.DataSource = DataTable;
+ Controls.Add(DataGrid);
+ }
+}
+Actual Results:
+No row for column titles.
+
+Expected Results:
+A row for column titles.
+
+
+How often does this happen?
+Always.
More information about the mono-bugs
mailing list