[MonoDevelop] Gtk# DataGrid and MonoDevelop

llharper llharper at san.rr.com
Mon Nov 18 02:21:25 UTC 2013


Hey all ! Hopefully I put this in the right spot.
The following is being done on a Debian system using MonoDevelop 3.0.3.2 and
the Gtk# framework. 
I am writing a small learning application that uses SQLite and a Gtk#
DataGrid to display the data. The issue is that after I drop the DataGrid on
the form using the Designer, I get several errors when I Build the project.
I have verified that I am Using MonoDevelop.Database.Components. Below are
the lines and the errors listed by MonoDevelop. Can someone show how to use
the Gtk# DataGrid ? 

this.datagrid1 = new global::MonoDevelop.Database.Components.DataGrid ();
    Error CS0584: Internal compiler error: Method not found:   
 Error CS0266: Cannot implicitly convert type `object' to
`MonoDevelop.Database.Components.DataGrid'. An explicit conversion exists
(are you missing a cast?) (CS0266) (SQLiteDataDisplay)

this.datagrid1.ShowNavigator = false;
     Error CS1061: Type `MonoDevelop.Database.Components.DataGrid' does not
contain a definition for    `ShowNavigator' and no extension method
`ShowNavigator' of type `MonoDevelop.Database.Components.DataGrid' could be
found (are you missing a using directive or an assembly reference?) (CS1061)
(SQLiteDataDisplay)

this.datagrid1.EnableNavigator = false;
    Error CS1061: Type `MonoDevelop.Database.Components.DataGrid' does not
contain a definition for `EnableNavigator' and no extension method
`EnableNavigator' of type `MonoDevelop.Database.Components.DataGrid' could
be found (are you missing a using directive or an assembly reference?)
(CS1061) (SQLiteDataDisplay)

this.datagrid1.PageSize = 0;
    Error CS1061: Type `MonoDevelop.Database.Components.DataGrid' does not
contain a definition for `PageSize' and no extension method `PageSize' of
type `MonoDevelop.Database.Components.DataGrid' could be found (are you
missing a using directive or an assembly reference?) (CS1061)
(SQLiteDataDisplay)

this.datagrid1.PageSize = 0;
    Error CS1061: Type `MonoDevelop.Database.Components.DataGrid' does not
contain a definition for `LimitPageSize' and no extension method
`LimitPageSize' of type `MonoDevelop.Database.Components.DataGrid' could be
found (are you missing a using directive or an assembly reference?) (CS1061)
(SQLiteDataDisplay)


Thanks in advance for the help.
llharper




--
View this message in context: http://mono.1490590.n4.nabble.com/Gtk-DataGrid-and-MonoDevelop-tp4661328.html
Sent from the Mono - MonoDevelop IDE mailing list archive at Nabble.com.


More information about the Monodevelop-list mailing list