abasilis

I'm really beginning working with Compact Framework, I tried to look hot to do a list of Items in a Datagrid and put a checkbox into it, but All I've been searching for is unusuable, because aparently is not supported.

Now I find some Posts that some people has made with a Listview, But I don't see any examples, or codes like in Visual Basic Forums.

I would like to know how to do it or a guide that can help me!

Thanks any Help!!




Re: .NET Compact Framework How to make a List of Items from database and Check what I need

Chunsheng Tang - MSFT

Have you tried this:

http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx

I am afraid there is no easy solutions.






Re: .NET Compact Framework How to make a List of Items from database and Check what I need

shaper

It's working great with CustomDataGridColumnStyle as posted above.





Re: .NET Compact Framework How to make a List of Items from database and Check what I need

abasilis

I build the solution with Visual Studio 2005, but it shows me a lot of errors:

Error 1 'DataGridCustomColumns.DataGridCustomColumnBase.Paint(System.Drawing.Graphics, System.Drawing.Rectangle, System.Windows.Forms.CurrencyManager, int, System.Drawing.Brush, System.Drawing.Brush, bool)': no suitable method found to override C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\DataGridCustomColumns\DataGridCustomColumnBase.cs 278 33 DataGridCustomColumns

Error 2 The referenced assembly "C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\DataGridCustomColumns\bin\Debug\DataGridCustomColumns.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. CustomDataGrid

Warning 3 Namespace or type specified in the Imports 'DataGridCustomColumns' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases. C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\CustomDataGrid\CustomDataGrid.vb 11 9 CustomDataGrid

Error 4 Type 'DataGridCustomTextBoxColumn' is not defined. C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\CustomDataGrid\CustomDataGrid.vb 33 42 CustomDataGrid

Error 5 Type 'DataGridCustomTextBoxColumn' is not defined. C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\CustomDataGrid\CustomDataGrid.vb 50 42 CustomDataGrid

Error 6 Type 'DataGridCustomUpDownColumn' is not defined. C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\CustomDataGrid\CustomDataGrid.vb 66 42 CustomDataGrid

Error 7 Type 'DataGridCustomCheckBoxColumn' is not defined. C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\CustomDataGrid\CustomDataGrid.vb 82 42 CustomDataGrid

Error 8 Type 'DataGridCustomComboBoxColumn' is not defined. C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\CustomDataGrid\CustomDataGrid.vb 98 42 CustomDataGrid

Error 9 Type 'DataGridCustomDateTimePickerColumn' is not defined. C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\CustomDataGrid\CustomDataGrid.vb 114 42 CustomDataGrid

Any Ideas






Re: .NET Compact Framework How to make a List of Items from database and Check what I need

shaper

Please read the error message, it says:

Error 2 The referenced assembly "C:\Documents and Settings\Administrator\Desktop\Pocket Pc Docs and Books\Examples\Custom DataGrid Sample C#\DataGridCustomColumns\bin\Debug\DataGridCustomColumns.dll" was not found. If this assembly is produced by another one of your projects, please make sure to build that project before building this one. CustomDataGrid

You're missing a reference to the DataGridCustomColumns.dll or your project hasn't been built yet. Rebuild your whole project or adding the reference should do it.





Re: .NET Compact Framework How to make a List of Items from database and Check what I need

abasilis

Those errors appears when I built the solution!

That's what it says in the web page http://blogs.msdn.com/netcfteam/archive/2006/04/25/583542.aspx in the third paragraph.

If I go to Project->Add Reference the DataGridCustomColumns.dll does not appear.

It seems that it does not finish to buid the solution, that's probably why the .dll is not built.

P.D.

I built the hole solution and the two projects and nothing yet!