How to get datacolumn content to string

  • Thread starter Thread starter Webgour
  • Start date Start date
Hi,

Are you meaning something like this:

StringBuilder sb = new StringBuilder()
foreach( DataRow row in table.Rows )
sb.append( row["ColumnName"] ); // You may also use
row["ColumnName"].ToString() if you have to.


Cheers,
 
Back
Top