Hi I have to create a grid dynamically. I can do most of it in vb code behind but I also need an edit column? What is the syntax for this creation?
boundColumn = New GridBoundColumn()
dgCompDetails.MasterTableView.Columns.Add(boundColumn)
boundColumn.DataField = "ippComponentSrcValue"
boundColumn.UniqueName = "dgippComponentSrcValue"
boundColumn.Display = True
boundColumn.HeaderText = "Value"
I need the next column to be a
Thanks.
boundColumn = New GridBoundColumn()
dgCompDetails.MasterTableView.Columns.Add(boundColumn)
boundColumn.DataField = "ippComponentSrcValue"
boundColumn.UniqueName = "dgippComponentSrcValue"
boundColumn.Display = True
boundColumn.HeaderText = "Value"
I need the next column to be a
GridEditCommandColumn
but can not figure out the correct syntax.Thanks.