G
Guest
I am using VS2005 and have been learning a ton about databinding. I know
that when you drag a view from the datasource window (creating a
dataGridView) that an update method is not added to the table adaptor. I
would like to update the b ase tables thorugh the view. How do i do this?
FYI: I have some reserarch on how to handle updating multiple tables and
making sure I don't break referential integrity, yet in this case I will not
be adding or deleteing, only updating. From what I've read I understand that
I should create temperary datatables to store the add, mod, and del changes
and then update them in the correct order (Child delete, Parent Insert,
Parent Mod, Child Insert, Child Mod, grandChild insert, GrandChild Mod).
I currenlty have the sql stored on teh server as a view, should I be storing
the sql in the application? In that case wouldn't have a bound table
adaptor? I guess Im a little fuzzy on creating bound table adaptors whose
result set is not in the format of an exisitng table? I thought I had to
creat a view? Sorta babbling now.... hope this makes sence.
Thanks,
Greg P.
that when you drag a view from the datasource window (creating a
dataGridView) that an update method is not added to the table adaptor. I
would like to update the b ase tables thorugh the view. How do i do this?
FYI: I have some reserarch on how to handle updating multiple tables and
making sure I don't break referential integrity, yet in this case I will not
be adding or deleteing, only updating. From what I've read I understand that
I should create temperary datatables to store the add, mod, and del changes
and then update them in the correct order (Child delete, Parent Insert,
Parent Mod, Child Insert, Child Mod, grandChild insert, GrandChild Mod).
I currenlty have the sql stored on teh server as a view, should I be storing
the sql in the application? In that case wouldn't have a bound table
adaptor? I guess Im a little fuzzy on creating bound table adaptors whose
result set is not in the format of an exisitng table? I thought I had to
creat a view? Sorta babbling now.... hope this makes sence.
Thanks,
Greg P.