Error while adding records to access database from c#.net

前端 未结 1 1638
醉梦人生
醉梦人生 2021-01-29 07:21

Code:

    int MaxRows = 0;
    int inc = 0;

    private void Form2_Load(object sender, EventArgs e)
    {
        con = new System.Data.OleDb.OleDbConnection();         


        
相关标签:
1条回答
  • 2021-01-29 07:55

    Could be either/both:

    1)open and close a connection around the update statement

    2)set the updatecommand property of the adapter. see msdn page

    0 讨论(0)
提交回复
热议问题