Binding Dynamic Column in GridView

Posted by in ASP.NET category on for Beginner level | Views : 21699 red flag

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.



Page copy protected against web site content infringement by Copyscape

About the Author

Full Name: Manikandan Ravi
Member Level: Starter
Member Status: Member
Member Since: 10/13/2008 11:32:19 PM

Login to vote for this post.

Comments or Responses

Login to post response

Comment using Facebook(Author doesn't get notification)