Solved

Using table styles with datagrid in .net compact edition

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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 …
A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
This video discusses moving either the default database or any database to a new volume.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

705 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

18 Experts available now in Live!

Get 1:1 Help Now