for example, I set it using below statements,It hints the Text is read only, If I want to clear the text's value how to do it? thanks
this.TXDataGridViewEdit.Rows[1].Cells[2].Text=""
Use the Value property:
this.TXDataGridViewEdit.Rows[1].Cells[2].Value=""
You might also want to consider changing the value in the underlying data source.
Trausti
Trausti,thanks for your assist!