I have a datagrid in C#.net I have made some columns in grid editable. On which event should i get the value user has entered in the grid and how to get the value user has entered?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Event: CellEndEdit
Value:
(your datagridview).Rows[e.RowIndex].Cells[e.ColumnIndex].Value(Note: this is object type. You can use ToString() method to convert it to string)