update dataset error
Posted on 2007-03-30
I am having trouble updating my dataset.
I have several datasets that I select by passing in a GUID, getting the ds back, binding it to a grid, textbox, or anything, then calling update and everything works well.
On one form I fill the ds with a subquery
select * from table1 where foreignkey in (select foreignkey from table2 where primarykey=1)
I also have a generic fill statement, built by visual studio.
I fill my ds, then call update, no errors, but nothign happens.
Does it have something to do with the way it is filled? I am using one method to fill and another to update. Is this a problem? I really don't do too much , but pass in a foreign key.
I don't even know how to debug this. I can step through, but nothing happens.