As I told you yesterday:
error in my project....[
^]
The "|" character is not allowed in file names.
So why are you trying to use it:
con.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=D:|DataDirectory|\jobdetail.mdb;Persist Security Info=True";
Replace the "|DataDirectory|" with the actual path to the file, and your problem should go away.