Results 1 to 5 of 5

Thread: [02/03] Access DataBase problem.....

Hybrid View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2006
    Posts
    82

    Re: [02/03] Access DataBase problem.....

    could anyone hlep me please............

  2. #2
    Addicted Member phenom's Avatar
    Join Date
    Apr 2006
    Location
    UAE
    Posts
    233

    Re: [02/03] Access DataBase problem.....

    Hi sriya,

    i beleive that you need to create a DataRow to add a new ROW as shown below
    VB Code:
    1. Dim dtcmp As DataRow = m_dt_test.NewRow
    2.             dtcmp("CompanyName") = txtCompany.Text
    3.             'etc
    4.             'etc
    5.             m_dt_test.Rows.Add(dtcmp)
    6.             m_DataAdapter.Update(m_dt_test)

    second this line "in ur code" has an error, there is . before m_dt_test

    "m_dataAdapter_test.Update(.m_dt_test)" it shows the following error.

    hope this helps...

    Regards,
    =======================================
    If I helped you, Kindly Rate my post. Thanks
    -----------
    PHENOM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width