dataAdapter update problem
i have a few textboxes that i bind to a dataset and when i try to change the values after filling it and displaying it, i update the dataset but the database isn't modified.
the dataadapter_row updating or updated events arent fired either
here is my code.
Me.daCategories.Update(Me.DsCategories1.Categories)
any suggestions?
does it have something to do with the fact i'm using text boxes?
Re: dataAdapter update problem
Quote:
Originally posted by Andy
i have a few textboxes that i bind to a dataset and when i try to change the values after filling it and displaying it, i update the dataset but the database isn't modified.
the dataadapter_row updating or updated events arent fired either
here is my code.
Me.daCategories.Update(Me.DsCategories1.Categories)
any suggestions?
does it have something to do with the fact i'm using text boxes?
i think you put some commandbuilder to your dataadapter...
VB Code:
dim cb as new sqlcommandbuilder(daCategories)
Me.daCategories.Update(Me.DsCategories1.Categories)
i dont if that the efficient one.