Am using oledb to connect and use access database. it is connecting and reading too. But I cant add new data to the database. help me.
Although it doesn't explain the failure to add, one problem with your code is that in the addNew method you are calling conn.Close() after the commit() method has disposed of the connection.