Search Result

Collapse
2 results in 0.0045 seconds.
Keywords
Members
Tags
oledb insert
  •  

  • themoonisdown09
    started a topic C# INSERT statement using OleDb
    in .NET

    C# INSERT statement using OleDb

    I am using Visual Studio 2003, C# .NET

    I can't get this INSERT statement to work. I can get an UPDATE to work, but not this INSERT. Here is my code...

    *************** ***
    Code:
    //opens database
    string conString = "Provider=Microsoft.Jet.OLEDB.4.0;"
    			+ "Data Source=C:\\TimeClock\\TimeClock.mdb";
    
    OleDbConnection empConnection = new OleDbConnection(conString);
    ...
    See more | Go to post
    Last edited by Frinavale; Nov 19 '09, 04:30 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.

  • Michel R.
    Guest started a topic OleDb MSAccess Insert ???

    OleDb MSAccess Insert ???

    What`s wrong with this ??? The insert does not add into the database.

    Using a Winform and
    Database is sc.mdb
    Filename is supplier
    Fields SuppNbr Int64
    SuppName String
    SuppPhone Int64

    Here is the insert Class:

    public void insert_data()
    {
    string source = "Provider=Micro soft.Jet.OLEDB. 4.0;Data Source=c:\\sc.m db";

    string command1 = string.Format(" select...
    See more | Go to post
Working...