[Mono-list] DataGridView causes 100% CPU usage

Andrus kobruleht2 at hot.ee
Mon Aug 7 05:26:22 EDT 2006


I created simple exe file which allows editing bound data using
System.Windows.Forms.DataGridView.
I used Visual C# Express Edition 2005 and .NET data provider for PostgreSQL 
0.7.1

Running this exe file in Windows XP using Mono 1.1.16.1 is extremely slow. 
Windows Task Manager shows that mono.exe uses 99% CPU if application has 
focus.
Grid responds to keystrokes after very long delay so that editing data is 
impossible.
If generated code InitializeComponent() method contains line
this.dataGridView1.DataSource = this.dataSet1;
application finishes immediately when running under mono.

How to edit data in grid with Mono ?

Is in reasonable to wait for fast DataGridView implementation or should I 
switch to GTK# or wxWindows ?
GTK# and wxWindows do not have C# code-generating IDE like Visual C# so
its more difficult to use them.


Andrus.



More information about the Mono-list mailing list