[datagrid] pocketPC VB

  • Thread starter Thread starter Mochar
  • Start date Start date
M

Mochar

Hello


I've a datagrid with 3 columns.
It's possible to set up the size of all columns.

example:

Column id size=50
Column Name size=200
Column Address size = 500

I tried to do that at design time, but it dosnt work.

In the TableStyles properties i add the DataGridTableStyles2

Name:DataGridTableStyles2
Modifiers:Friends
MappingName:DataTable


in the GridColumnStyles I add a DataGridColumnStyle

Name:ID
Modifiers:friend
HeaderText:ID
MappingName:CODID
NullText:
Width:20

NB:the real name of the column in the database access is ID.

But the size doesn change...HOW can I do?

thanks a lot
Mochar
 
Back
Top