[datagrid] pocketPC VB

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
 

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

Top