Freeze Datagrids first and last column

Aug 5 2011 2:34 AM
Hi,
 
I am using DataGrid control in my application.
 
Requirement is i need to freeze first 2 and last 1 column of DataGrid.
 
I am using

DataGrid1.FrozenColumnCount =2;
 
But by this only first two columns get freeze.
 
How can i freeze my last column also.
 
Please please guide me.
 
thanks in advance.

Answers (2)