So, you are going to get ONE count value, like 42. And you want to display that one value in a DataGridView cell?
Which part of this don't you know how to do? To call the ExecuteScalar method or to get the resulting value into a DataGridView cell?
www.insteptech.com ;
msmvps.com/blogs/deborahk
We are volunteers and ask only that if we are able to help you, that you mark our reply as your answer. THANKS!