Results 1 to 2 of 2

Thread: [2005] Queries in Dataset/TableAdpater

  1. #1

    Thread Starter
    Fanatic Member eSPiYa's Avatar
    Join Date
    Jun 2006
    Location
    in our house
    Posts
    751

    Exclamation [2005] Queries in Dataset/TableAdpater

    My friend have a weird problem in using update, insert, and probably w/ delete functions.

    The changes reflects only in the dataset but not on the actual records?
    This is a sample of my code:

    Code:
    Dim taMedia as New dsMainTableAdapters.MediaTableAdapter
    
    taMedia.Insert(txtMediaName.Text)
    This code works fine w/ ASP.NET 2.0(VB) but why not in VB.NET 2005(Windows Application).

  2. #2
    Fanatic Member
    Join Date
    Feb 2007
    Location
    Eindhoven
    Posts
    828

    Re: [2005] Queries in Dataset/TableAdpater

    wht do u mean by the actual records? If you mean the database then I think that you should use the update method of the adapter which will then execute the proper insert update or delete command on the table in the database.

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