Solved

Using table styles with datagrid in .net compact edition

Posted on 2004-08-11
2
522 Views
Last Modified: 2008-02-01
Is it possible to format a datagrid that is bound to a collection class when using the compact framework?

The datagrid automatically picks up the properties of my object, but some of them need to be removed from the grid other columns need to be widened.

All the examples I have seen have been for the full framework (using table styles) and dont seem to work on the compact version. Has anyone done this, can you supply sample vb.net code?
0
Comment
Question by:flashowl
  • 2
2 Comments
 
LVL 25

Accepted Solution

by:
RonaldBiemans earned 350 total points
ID: 11771533
tablestyles are supported by the compact framework. so they can be used to format your columns (setting the width to 0 will remove the column from site.

Look here

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnppc2k3/html/datagrid_control.asp
0
 
LVL 25

Expert Comment

by:RonaldBiemans
ID: 11771611
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now