Add/Edit Columns in DataBound DataGridView

Posted by Dave on Stack Overflow See other posts from Stack Overflow or by Dave
Published on 2010-04-26T18:02:31Z Indexed on 2010/04/26 18:13 UTC
Read the original article Hit count: 215

Filed under:
|
|

I've got a datagridview that is databound from a database table. How do I:

a) Edit the displayed value for a column using the values from other columns in the row? (For example, display a URL like:

    <a href="/url?param=columnA">columnB</a>

where columnA is the value from column A and columnB is the value from columnB)

b) Add an additional column using values from the other columns (similar to a.)

© Stack Overflow or respective owner

Related posts about datagridview

Related posts about c#