System.Data.OleDb.OleDbCommand("Select COUNT(*) FROM [Map1$A:A]", Con)
System.Data.OleDb.OleDbCommand("Select COUNT(*) FROM [Map1$A:A] WHERE A=`1`",Con)
No value given for one or more required parameters.
I believe provider does not recognize what is A column in your case. Try next
And just to clarify, if your Excel connection string contains 'HDR=Yes' then valid columns would be in the first row of the specified Worksheet (or Range). Otherwise, (HDR=No) the column names default to F1, F2, F3, etc.