Assume that you already have a data source SqlDataSource1 that binds to a simple query returning some details from the Customers table. <asp:SqlDataSource ID= "SqlDataSource1" runat= "server" ConnectionString= "<%$ ConnectionStrings
Read More...
Read the complete post at http://blogs.iis.net/webdevelopertips/archive/2009/05/27/tip-64-did-you-know-how-to-convert-a-gridview-column-from-asp-boundfield-to-asp-templatefield-in-design-view.aspx