将silverlight应用程序连接到MySQL数据库 [英] Connecting silverlight application to MySQL database

查看:74
本文介绍了将silverlight应用程序连接到MySQL数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我为Silverlight应用程序创建了一个前端,现在开始后端编码。我已经完成了数百个关于将应用程序链接到数据库的教程,但我还没有成功:(



请你建议我实现这个方法...我需要做的就是将应用程序链接到数据库并对我的CRUD语句进行一些编码。应用程序基本上有一个登录页面,可以打开一个用户向数据库添加详细信息的表单。



在此先感谢,

Kalvin

Hi Everyone,

I have created a front end for my Silverlight Application and now starting the back end coding. I have been through hundreds of tutorials on linking the application to a database but I have had no success yet :(

Please can you suggest a way for me to implement this... All i need to do is link the app to the database and do some coding for my CRUD statements. The application basically has a login page which opens up to a form where the user adds details to the database.

Thanks in advance,
Kalvin

推荐答案

Silverlight无法直接连接到数据库服务器,你必须通过网络服务或WCF等连接。



如果您有冒险精神,可以尝试在Silverlight上编译MySql驱动程序。
Silverlight cannot connect directly to database servers, you have to connect via web services or WCF etc.

If you feel adventurous you could try to compile the MySql drivers on Silverlight.


您可以使用Web服务执行此操作。阅读更多:

将SilverLight与Web服务连接MySQL [ ^ ]
You can do this with web services. Read more:
Connecting MySQL From SilverLight With Web Services[^]


这篇关于将silverlight应用程序连接到MySQL数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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