Tuesday, May 26, 2009

Bound Field to GridView Dynamically

bFld = New BoundField
bFld.DataField = "YourFieldName"
bFld.HeaderText = "YourHeaderText"
gview1.Columns.Insert(13, bFld)


Note : 13 is where to locate your new boundfield