I create DataGridView that is populated from SQL query. I created event CellClick and method. I set an if condition to press cells on specific column but if the datagridview is empty (because query select result empty) and I try to press titles of the column appear following error:
I don't find how can i manage this exception event
Thank you
I try to add many conditions options