I just know how to populate gridview with asp:SqlDataSource
But I have a column of TemplateField in my gridview, when I need mo
A template field in gridview is a field containing one of the values which you selected from database in your data-source.
There template for Item as well edit item.
Item template is shown when gridview is not in edit mode.
And edit item template is shown when it is in the edit mode.
More Details:- http://msdn.microsoft.com/en-us/library/bb288031.aspx