Adding dynamic field in to the gridview.
Adding dynamic field in gridview
To add the dynamic field the following steps required.
1. Create the new Gridview control.
2. At the required position or event just create the object for the BoundField.
3. Set the DataField and HeaderText for the column (can add other properties also like following code).
4. After creating boundfield, add that bound field to gridview by following two different statement.
By the help this artical, can add the dynamic field into the grid view.