I have a table named “Streets” in an access db, and I have opened a connection with
OleDbConnection con = OleDbConnection(@"Provider=Microsoft.Jet.OLEDB.4.0;" + @"Data source=" + mdbFileName);
How can I get at my table?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Add an ADOX COM reference to your project and try out the following code:
Details can be found in the following blog posts:
Rename Field in MS Access Programmatically using ADOX (C#.NET)
Add New Field in MS Access Programmatically using ADOX (C#.Net)
Add data to your new field by using standard ADO.net.