Disable Sorting on One Field of A Gridview

Go to the Html Source Code and remove the SortExpression or simply set it to blank.

Before

<asp:BoundField DataField="Name" HeaderText="Name" 

SortExpression="Name"  temStyle-HorizontalAlign="Center" 

ItemStyle-Wrap = "false"> <ItemStyle HorizontalAlign="Center"

 Wrap="False"></ItemStyle>
After
 
<asp:BoundField DataField="Name" HeaderText="Name"

 ItemStyle-HorizontalAlign="Center" ItemStyle-Wrap = "false">

<ItemStyle HorizontalAlign="Center" Wrap="False"></ItemStyle>
Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn