Questions tagged [oledbexception]

OleDBException is an exception thrown regarding an OLE DB data source.

More information can be found at the this website: Microsoft Developer Network - OleDbException Class.

138 questions
-1
votes
1 answer

Data Type Mismatch error while updating Access database from VB.NET

cn.ConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\Steve\Documents\Visual Studio 2010\Projects\Church Of Glory\Church Of Glory\Registry.accdb" cmd.CommandText = "update Registry set relaship = '" + ComboBox3.Text +…
-2
votes
1 answer

Why do I always get a Syntax in UPDATE Statement whenever I try to update my records in OleDBSQL?

I always get this error whenever I try to update the record in OleDBSQL. Here is my code: private void update(int id, string fname, string user, string pass, string email, string address, string ci, string bday) { //SQL STMT …
-2
votes
1 answer

No value given for one or more required parameters. OleDbException was unhundled vb.net

am new to vb.net i have a project vb.net connect to access 2003 database and i want to insert data through vb.net to access data base am using Sql commands here is the code bt it's not working for me cmd.CommandText = "INSERT INTO info(nam,…
1 2 3
9
10