Click here to Skip to main content
12,450,909 members (51,097 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# C#4.0
hello,
Hi guys, i need help on how to hide a column in a datagridview in compact framework 5.0
with a list as a data source
Posted 9-Jan-13 22:19pm
Comments
Code_Linc 10-Jan-13 8:02am
   
thanks but that does not work in compact framework. I meant hiding columns on a grid in a smartDevice.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

MAke the Visible for the column to false.

this.DataGridView.Columns[0].Visible = false;


refer the below link

http://msdn.microsoft.com/en-us/library/bb383893(v=vs.90).aspx[^]
  Permalink  
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160826.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100