OleDb Error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ann Marinas

    #1

    OleDb Error

    Hi all!

    I'm developing an application that imports a CSV file then stores the
    imported data to an XML file through a dataset and an Access database. I've
    used the connection and data adapter objects. I don't have any problems in
    saving the imported data in a dataset and xml file, but whenever I'm saving
    it to the access database, I always get this error:

    =============== =============== =======
    System.Data.Ole Db.OleDbExcepti on: Parameter ?_1 has no default value.
    at System.Data.Com mon.DbDataAdapt er.Update(DataR ow[] dataRows,
    DataTableMappin g tableMapping)
    at System.Data.Com mon.DbDataAdapt er.Update(DataT able dataTable)
    =============== =============== =======

    I've tried changing my insert command many times but the error keeps on
    popping up.

    Please help!

    Thanks!

    A :D


Working...