HI All
I was hoping someone could point me in the right direction
I have created a gridview and i want to extend the
OnRowDataBound Method, i want to be able to get a list in this method of all the BoundField DataField's names that i have assigned in the grid.
I can get the values returned from SQL but not the names
eg
protected override void OnRowDataBound(GridViewRowEventArgs e)
{
DataRowView tableData = e.Row.DataItem as DataRowView;
tableData[Name].ToString()
this will give me the value of the row, but how do i get a list of all DataFields
eg ....,Name,....
Regards
I was hoping someone could point me in the right direction
I have created a gridview and i want to extend the
OnRowDataBound Method, i want to be able to get a list in this method of all the BoundField DataField's names that i have assigned in the grid.
I can get the values returned from SQL but not the names
eg
protected override void OnRowDataBound(GridViewRowEventArgs e)
{
DataRowView tableData = e.Row.DataItem as DataRowView;
tableData[Name].ToString()
this will give me the value of the row, but how do i get a list of all DataFields
eg ....,Name,....
Regards