Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Using table styles with datagrid in .net compact edition

Posted on 2004-08-11
2
Medium Priority
?
542 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 1050 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

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

688 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