DatagridViewButtonColumn with different Text and different Functionality for different Rows
问题 I need to create a datagidview in winforms. It has a Datagridviewbuttoncolumn and few other columns. The Datagridviewbuttoncolumn must intially display text "Upload" and clicking on it should open a location to store files. After file is uploaded the Datagridviewbuttoncolumn text should become "View File" and clicking on it should open the file. A brief idea how it could be done will be helpful. 回答1: Different Text for Buttons Handle CellFormatting event and set e.Value based on value of