DataGrid with customized data

  • Thread starter Thread starter Michael
  • Start date Start date
M

Michael

Hi to all,
I must write an application (window form based) for a
pocket pc.
It' nesessary to fill a DataGrid with pre-defined values -
not values from a database.

for example:
1.row: -1-2-1---
2.row: 1---2---1

does anybody have some code samples for me?

thanks for your advice
 
Just build a DataTable, create some DataRow's, and then bind it to the
DataGrid. If you look at the help for the DataTable it should be fairly
easy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top