如何从数据库中获取数据?

时间:2021-12-07 07:59:48

how we can fetch the data from the database through Silver light? I want the basics only. because i am a fresher in silver light.

我们如何通过Silver light从数据库中获取数据?我只想要基础知识。因为我是一个更新鲜的银光。

2 个解决方案

#1


It depends a little on the version of Silverlight that you are using. In any case, there are some very good and comprehensive tutorials out there on the web. Here are a few that will be of interest:

它取决于您使用的Silverlight版本。无论如何,网上有一些非常好的和全面的教程。以下是一些有趣的内容:

http://silverlight.net/learn/tutorials/sqldatagrid.aspx

http://www.simple-talk.com/dotnet/.net-framework/data-and-silverlight-2-data-binding/

#2


Expose your data through a WCF service.

通过WCF服务公开您的数据。

Have a look at this tutorial: Displaying SQL Database Data in a DataGrid using LINQ and WCF.

看看本教程:使用LINQ和WCF在DataGrid中显示SQL数据库数据。

Also:

#1


It depends a little on the version of Silverlight that you are using. In any case, there are some very good and comprehensive tutorials out there on the web. Here are a few that will be of interest:

它取决于您使用的Silverlight版本。无论如何,网上有一些非常好的和全面的教程。以下是一些有趣的内容:

http://silverlight.net/learn/tutorials/sqldatagrid.aspx

http://www.simple-talk.com/dotnet/.net-framework/data-and-silverlight-2-data-binding/

#2


Expose your data through a WCF service.

通过WCF服务公开您的数据。

Have a look at this tutorial: Displaying SQL Database Data in a DataGrid using LINQ and WCF.

看看本教程:使用LINQ和WCF在DataGrid中显示SQL数据库数据。

Also: