使用WCF for Window Phone 7移动应用程序将Visual Studio 2010与Sql Server 2012连接 [英] Connect Visual Studio 2010 with Sql Server 2012 using WCF for Window Phone 7 mobile application

查看:70
本文介绍了使用WCF for Window Phone 7移动应用程序将Visual Studio 2010与Sql Server 2012连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用WCF和linq sql连接visual studio 2010和Ms SQL Server ..我不知道为什么我只能从中检索数据数据库但无法插入和删除数据。这是我参考的链接  http://www.cabotsolutions.com/2011 / 03 /窗口移动-7-应用开发/ 功能;.
为此,我只能查看,对于插入和删除它是一个错误,faultexception未处理。任何人都可以帮助我,因为我是WP7开发的新手。谢谢。

I have connect the visual studio 2010 with Ms SQL Server using WCF and linq sql.. I do not know why I just able to retrieve the data from the database but unable to insert and delete the data. This is the link for my reference http://www.cabotsolutions.com/2011/03/windows-mobile-7-app-development/ . For this, I am able to view only, for insert and delete it was a error with faultexception was unhandled. May anyone help me since I am a newbie for WP7 development. Thank you.




推荐答案

Hello Fennie Lau,

Hello Fennie Lau,


我使用WCF和linq sql连接visual studio 2010和Ms SQL Server ..我不知道为什么我只能从数据库中检索数据但无法插入和删除数据。这是我参考的链接

http:// www.cabotsolutions.com/2011/03/windows-mobile-7-app-development/
。为此,我只能查看,对于插入和删除它是一个错误,faultexception未处理。任何人都可以帮助我,因为我是WP7开发的新手。谢谢。

I have connect the visual studio 2010 with Ms SQL Server using WCF and linq sql.. I do not know why I just able to retrieve the data from the database but unable to insert and delete the data. This is the link for my reference http://www.cabotsolutions.com/2011/03/windows-mobile-7-app-development/ . For this, I am able to view only, for insert and delete it was a error with faultexception was unhandled. May anyone help me since I am a newbie for WP7 development. Thank you.

欢迎来到Msdn论坛,了解WindowsPhone7问题  ,是免费的专用论坛,请参阅下面的链接
http://forums.create.msdn.com/forums/

Welcome to Msdn Forum , for WindowsPhone7 question  , is avialible dedicated Forum , see link below http://forums.create.msdn.com/forums/

最诚挚的问候。


这篇关于使用WCF for Window Phone 7移动应用程序将Visual Studio 2010与Sql Server 2012连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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