How to populate gridview with mysql?

前端 未结 3 595
青春惊慌失措
青春惊慌失措 2020-12-31 20:07

I just know how to populate gridview with asp:SqlDataSource
But I have a column of TemplateField in my gridview, when I need mo

3条回答
  •  清酒与你
    2020-12-31 20:16

    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

提交回复
热议问题