iterating through a column on a datagrid

  • Thread starter Thread starter Dave Bailey via DotNetMonster.com
  • Start date Start date
D

Dave Bailey via DotNetMonster.com

I need to access the information in only one column of a datagrid. The
column is column[3]. When iterating through the grid I want to find all
instances where the entry is "" and change it to read "N". If the entry !+
"" then I want the entry to read "Y". Any ideas on how I can accomplish
this task?

Thanks,

Dave
 
Generally when you want to change data in the DataGrid, you don't actually
change it in the grid, you change the underlying datasource (usually a
DataSet object) and then do another DataBind() call on the grid. Should be
easy to find an example of that in the online help of Visual Studio or at
http://msdn.microsoft.com
 
Back
Top