I need Particular column disabled in Datagridview

Posted by Jayakumars under Regular Expressions on 6/21/2011 | Points: 10 | Views : 2933 | Status : [Member] [MVP] | Replies : 4
hi
I am design gridview 50 columns now i need column No-10 only Enable reaming 49
columns i need disabled how will do this i need dont fire performance issue
simplify coding this

Mark as Answer if its helpful to you


Responses

Posted by: Lakn2 on: 6/21/2011 [Member] Starter | Points: 25

Up
0
Down
try this

http://social.msdn.microsoft.com/Forums/en-US/winformsdesigner/thread/bd84a8b3-8701-4fe1-b85b-560aa771f5ec

Thanks&Regards
LakshmiNarayana Nalluri.

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vforvijay on: 6/21/2011 [Member] Starter | Points: 25

Up
0
Down
hi..
Try this
grdview.Columns(6).Visible = False

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Naimishforu on: 6/21/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
By setting the visibility to false should give you what you want!!

Thanks,
Naimish
http://dotnetinterview.zxq.net/
http://naimishpandya.blogspot.in/

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 6/22/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Check this link

http://forums.asp.net/t/1213481.aspx/1

Thanks
Karthik
www.f5Debug.net

Jayakumars, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response