Use absolute path of database (.sdf).
con = new oledb.oledbConnection("Provider = Microsof.ACE.OLEDB.12.0"; data source =
c:\folder\Attendance.accdb; Persist Security Info = False;")
Or checkout content of the database under Bin\Debug folder.
__avd
Posting Genius (adatapost)
8,648 posts since Oct 2008
Reputation Points: 2,136
Solved Threads: 1,241