Working with the new GridView control, I was struggling for a while with the change from the DataGrid OM...
Using the BoundField object solved the problem..
BoundField newField = new BoundField();
newField.DataField = thisColumn.DataColumnName;
newField.HeaderText = thisColumn.DisplayName;
grdResults.Columns.Add(newField);
Feedburner RSS
No comments:
Post a Comment