如何使用来自不同表的值更新网格 [英] how to update a grid with the values coming from different tables

查看:74
本文介绍了如何使用来自不同表的值更新网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我能够动态加载网格,对于该网格,值来自两个不同的表.我使用联接来加载网格.
现在,我想更新网格,如何编写linq查询以将网格数据更新到数据库中. br/> http://www.codedigest.com/Articles/ASPNET/281_Edit_Update_Delete_and_Insert_data_with_DataQ_asp_ <"http://www.codedigest.com/Articles/ASPNET/281_Edit_Update_Delete_and_Insert_data_with_DataList_control_using_LINQ.aspx" target ="_ blank" title ="New Window"> ^ ]


hi,
I am able to load the grid dynamically,and for this grid the values are coming from two different tables.I used joins to load the grid.
Now,I want to update the grid,how can i write the linq query to update the grid data into the database.

解决方案

Refer this you may get an idea
http://www.codedigest.com/Articles/ASPNET/281_Edit_Update_Delete_and_Insert_data_with_DataList_control_using_LINQ.aspx[^]


这篇关于如何使用来自不同表的值更新网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆