[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).
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.