|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
A view of multiple tableIn the database,I have a view is create from multiple table, and my sqldatasource get the data from the view.and if I change the data In GridView control,how to update to the database???help!!I'm a Chinese,I know little English!!
?????????????,??????????asp.net????gridview?????????????????????????????? Views in all versions of SQL Server are updatable (can be the target of
UPDATE, DELETE, or INSERT statements), as long as the modification affects only one of the base tables referenced by the view. You'll either have to use the ObjectDataSource with a business object that can run multiple update statements on the base tables or modify your view with instead of triggers so that your single update command would work from your SqlDataSource. There might be other ways of updating a view with ADO.NET that some other posters in this newsgroup might suggest. Regards.
Adding controls to Pager row in GridView
Templated control not rendering Web User Controls Re: How to get underlying data of TreeView control? (ASP.NET 2.0) Treeview control determining if node expanded or selected stylesheet on ASP.NET 2.0 TreeView and Menu Control using placeholders ASP.NET 2.0 equivalent for e.Item.ItemIndex ? Design Time Error: Error Rendering Control ValidateEvent bug with table and radio button want to create custom control using graphics |
|||||||||||||||||||||||