Solved

Using table styles with datagrid in .net compact edition

Posted on 2004-08-11
2
527 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

860 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