我可以通过linq将数据表绑定到数据库 [英] can i bind data table to database by linq

查看:63
本文介绍了我可以通过linq将数据表绑定到数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用数据库绑定数据表我可以吗?

如果是,你有任何代码然后帮我绑定它

i want to bind a datatable with database can i do it?
if yes and you have any code then help me to bind it

推荐答案

考虑到DataTable保存查询的结果,你不能将它绑定到数据库,你的问题没有任何意义。



您指的是ASP.NET GridView吗?如果是这样,整个网络上都有大量的例子。您需要做的就是在Google中键入ASP.NET GridView教程。
Considering a DataTable holds the results of a query and you can't bind it to a database, you're question doesn't make any sense.

Are you referring to a ASP.NET GridView?? If so, there's tons of examples all over the web. All you need to do is type "ASP.NET GridView tutorial" into Google.


这篇关于我可以通过linq将数据表绑定到数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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