By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,165 Members | 1,394 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,165 IT Pros & Developers. It's quick & easy.

Using Datagrid Problem on Column align

P: n/a
Hi!
I am trying to use a datagrid control on a smart device application. I
managed to see my data on it but i have to arrange the width of columns.
How can i do that?
I ve tried to use tablestyles but couldnt manage. I get System Null
Reference Exception...

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Did you add a DataGridTableStyle with teh proper mappingname to your
datagrid before you tried to use the columnstyles?

George Shepherd's Windows Forms FAQ contains an entry entitled:

How do I set the width of a column in my DataGrid?

Check it out at:
http://www.syncfusion.com/faq/winforms/search/792.asp

=============================================
Clay Burch, .NET MVP

Syncfusion, Inc.
visit http://www.syncfusion.com for .NET Essentials
"Enver" <fa********@sonsuz.com.tr> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Hi!
I am trying to use a datagrid control on a smart device application. I
managed to see my data on it but i have to arrange the width of columns.
How can i do that?
I ve tried to use tablestyles but couldnt manage. I get System Null
Reference Exception...

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.