how can i can i give the name for the datagridview button cell in a datagridview. where can i give the text for the datagridviewbutton cell to be displayed??
By default the text displayed on the button comes from the FormattedValue of the DGV cell.
(i.e. the button shows the contents of the cell it is on).
If you set the UseColumnTextForButtonValue property of the column to true then the Text property of the column is used instead.
See MSDN UseColumnTextForButtonValue Property for an example