Link to home
Start Free TrialLog in
Avatar of bubblesharp
bubblesharp

asked on

datagrid read only cell HELPPPPPPPPPPPPPPPPPPPPPP

Hey everyone.

I'm trying to find a way to set a datagrid cell read only in VB.NET version 2003.

It would be great if someone knows how to get the control reference from a cell, and actually know the row and column number. Then i can just set the datagridtextbox to readonly from there!

something like (for example).....
dim txt as DataGridTextColumn
txt=Datagrid1.item(row,column).control

If there is another way to do this that someone knows about that'd be brilliant! REALLY REALLY REALLY looking for a way to do it using row and column numbers.

You might want to check this page out that i found: http://www.akadia.com/services/dotnet_datagrid_disable_cell.html. If anyone knows how to convert this into VB.NET code that's also an option.

Thanks in advance,

Simon


ASKER CERTIFIED SOLUTION
Avatar of undyshelts
undyshelts

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bubblesharp
bubblesharp

ASKER

SO SIMPLE!!!!! DAMN!!!!! That's exacly what I wanted. Thank you so much