Thursday, February 21, 2013

Gridview in ASP.net

Gridview control in ASP.net
Introduction:
                 This is used to display the data in tabular format to the user.
*It provides very good  Designing ,Editing,Sorting facilities.
Drawback:
* Executing of Gridview is slow when compared with Datalist and Repeator Controls.
* It provides automatic column generation  option by this option we don't required any designing code for        
    Gridview.

Properties:
        *     Allow paging :   True/False(Default).
        *     Allow Sorting :   True/False(Default).
        *     Autogenerationcolumns :   True/False(Default).
        *    Autogenerate Delete Button :   True(Default)/False.
        *    Autogenerate Edit Button :   True(Default)/False.
        *    Columns  :   Collection.
        *    EditIndex  :   -1 (Default).
        *    PageIndex  :  0 (Default).
        *    PagerSettings
        *    Pagesize  :   10 (Default).
        *    SelectedIndex  :   -1 (Default).
        *    ShowHeader  :  True(Default)/False.
        *    ShowFooter  :  True/False(Default).
        *    ShowHeader when Empty  :  True/False(Default).

Events :
        EventName                                 ClassName                         Properties   
Pageindexchanging                              GridviewEventargs              NewpageIndex
RowcancellingEdit                               Gridview Edit Eventargs       RowIndex
RowEdiing                                          Gridview Eventargs              New Edit Index
Row Updating                                    Gridview Eventargs              RowIndex
Sorting                                               Gridview Eventargs              SortExpression     

No comments:

Post a Comment

amazon

Sukanya Samriddhi Account - SBI

SUKANYA SAMRIDDHI Account information by SBI SUKANYA SAMRIDDHI ACCOUNT : FACILITY AVAILABLE AT ALL BRANCHES OF SBI Sukanya Samriddhi ...