Solved

Using table styles with datagrid in .net compact edition

Posted on 2004-08-11
2
530 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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…

739 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