SyntaxFix
Write A Post
Hire A Developer
Questions
If (list.Count==0){ //you can show your error messages here } else { //here comes your datagridview databind }
You can make your datagrid visible false and make it visible on the else section.