The error message is pretty clear:
Object Reference Not set to an instance of an object.
Since it occurs on a line as simple as this:
con.Open();
it can only be one thing: the variable
con
has been declared, but you have not assigned a value to it - hence, it is
null
At some point before this code, you need to execute something like:
con = new OleDbConnection(strConnect);