kermit
How to fix " The ConnectionString property has not been initialized." in .Net api
Some points that I noticed in the provided screenshots:
1. If the database is on your local machine then Host will be localhost in the connection string.
2. I can't see OnConfiguring method in your Context file
7 replies
Need help with a telephone directory Windows Forms application
Sorry for late response.
I think the error is occurring by selecting the last row. Please check the below solution.
Check if the "SelectionMode" property is set to FullRowSelect?
The SelectionMode property must be set to FullRowSelect or RowHeaderSelect for the SelectedRows property to be populated with selected rows.
6 replies