x2y2z2
October 27th, 2008, 09:18 PM
Hello all
I am new to .NET. I am looking for some guidance.
I need to create an .NET CF application for Windows Mobile 5/6 devices which involves showing the user a GRID of "N x M" cells. User cannot edit cells or create new cells. It just a GRID display with static text (Sample - R1C1, R1C2 etc.) and the user should be able to move from cell to cell and I should be able to highlight the cell they are moving over.
1. How do I use DataGrid control and not use any data source. In other words I would like to set the number of rows and columns for the grid and need to be called back when the Grid wants to populate each cell. Somthing similar to ListView where one have a callback that will be called to fill the list.
Could you please guide me How I can achieve that?
2. I am looking for a some sample code for .NET/C#. Usually I get the Win32/C++ samples from the Microsoft Visual Studio installs. But I couldn't find any .NET CF samples from MSDN of .NET CF 2.0 install.
Appreciate very much any help!
Thank you very much.
Ganesan
I am new to .NET. I am looking for some guidance.
I need to create an .NET CF application for Windows Mobile 5/6 devices which involves showing the user a GRID of "N x M" cells. User cannot edit cells or create new cells. It just a GRID display with static text (Sample - R1C1, R1C2 etc.) and the user should be able to move from cell to cell and I should be able to highlight the cell they are moving over.
1. How do I use DataGrid control and not use any data source. In other words I would like to set the number of rows and columns for the grid and need to be called back when the Grid wants to populate each cell. Somthing similar to ListView where one have a callback that will be called to fill the list.
Could you please guide me How I can achieve that?
2. I am looking for a some sample code for .NET/C#. Usually I get the Win32/C++ samples from the Microsoft Visual Studio installs. But I couldn't find any .NET CF samples from MSDN of .NET CF 2.0 install.
Appreciate very much any help!
Thank you very much.
Ganesan