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 … Read more

Internet URL Regular Expression

The ASP.net Internet URL Regular expression is not complete and i was surprised the other day when an application that i have written stopped working suddendly. The form would not submit because it thought that the … Read more