Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6340311
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T19:48:40+00:00 2026-05-24T19:48:40+00:00

String conn=Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\\Data.accdb; string query = Insert Into Venue values(@venueID,@vanueName); OleDbDataAdapter dAdapter = new

  • 0
String conn="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=E:\\Data.accdb";
string query = "Insert Into Venue values(@venueID,@vanueName)";
OleDbDataAdapter dAdapter = new OleDbDataAdapter(query, conn);
OleDbCommandBuilder cBuilder = new OleDbCommandBuilder(dAdapter);
DataTable dTable = new DataTable();
dTable.Rows.Add("@vanueName", textBox1.Text);
dAdapter .Fill (dTable );
dataGridView1 .DataSource =dTable ;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T19:48:41+00:00Added an answer on May 24, 2026 at 7:48 pm

    I am not quite sure the Fill method is updating your DB

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's what my connection string looks like.. m_conn = new OleDbConnection(String.Format(Provider=Microsoft.ACE.OLEDB.12.0;Data Source={0};Extended Properties= +
how to connect Sqlcompact via. OleDbConnection my code: string strConn = Provider=Microsoft.SQLSERVER.CE.OLEDB.3.5; Data Source=C:\\newservice\\UserDataBase\\demo1.sdf;Password=MyPassword;
My connection string is: String excelConn = Provider=Microsoft.Jet.OLEDB.4.0;Data Source= + Server.MapPath(abc.xls) + ;Extended Properties='Excel
I'm using the Microsoft.Jet.OLEDB.4.0 provider for a basic connection in some VBA code, and
I have a Business Layer that passes a Conn string and a SQLCommand to
URL url = new URL(http://twitter.com/statuses/update.xml); HttpURLConnection conn = (HttpURLConnection) url.openConnection(); conn.setDoOutput(true); String cridentials =
I am using oledb connection string to import excel sheet. I am referencing 12.0
I'm trying to use the OleDb CSV parser to load some data from a
I am trying to import data from excel into a datatable using c#. Here
I am using OleDB to connect to an excel file using this connection string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.