|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
updating multiple tables from a formViewSince there is one datasource for a formView control, and one sql update
statement for the datasource, how can I update my normalized database (with 2 tables furnishing the data for the formView) since sqlServer doesn't allow update statements with more than one table? Thanks for any suggestions Instead of using sqlDataSource use an ObjectDataSource whose UpdateMethod
would execute SQlCommands to update more than one table. For samples on using objectDataSource with Business Logic Layer you may refer to the Quick Start Tutorials http://www.asp.net/QuickStart/aspnet/doc/data/objects.aspx#bll Show quoteHide quote "John Hopper" wrote: > Since there is one datasource for a formView control, and one sql update > statement for the datasource, how can I update my normalized database (with 2 > tables furnishing the data for the formView) since sqlServer doesn't allow > update statements with more than one table? > > Thanks for any suggestions |
|||||||||||||||||||||||