0

on form load I have set the property AllowUserToAddRows to false

DGV_PatientSessions.AllowUserToAddRows = false;

and at run time there is a button that when cliecked will change the property AllowUserToAddRows to true

DGV_PatientSessions.AllowUserToAddRows = true;

but nothing happened anyone can help ?

1 Answer 1

1

check these settings

  • How data is bounded in the DataGridView Is your datagrid readonly

Also, can you post the reproducible code.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.