我用C#创建小型移动Android应用程序。 [英] I create Small Mobile Android Application in C#.

查看:124
本文介绍了我用C#创建小型移动Android应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用c#在移动应用程序中更新鲜。我在Visual Studio 2012 Xamarin中创建登录页面。现在我想连接sql server数据库,我该如何连接它。

非常感谢你提前。 :)

解决方案

请参阅 - Xamarin for Android with SQL Server 2008 [ ^ ]。

< blockquote class =FQ>

Quote:

您应该构建一个Web服务来访问数据库,Xamarin应用程序可以毫无问题地调用Web服务。



在这里您可以了解不同的Web服务



http://docs.xamarin.com/guides/cross-platform/application_fundamentals/introduction_to_web_services [ ^ ]


我在c#中创建webservice获取数据从数据库但我无法与Android应用程序接口。它给出了错误。


I am fresher in Mobile application using c#.I create login page in Visual studio 2012 Xamarin. now i want connect sql server database with this how can i connect with it.
thank you very much in advance. :)

解决方案

Refer - Xamarin for Android with SQL Server 2008[^].

Quote:

You should build a Web Service to access the Database, and the Xamarin application can call the Web Service without any problems.

Here you have an introduction to different Web Services

http://docs.xamarin.com/guides/cross-platform/application_fundamentals/introduction_to_web_services[^]


I create webservice in c# for get data from db but i cannot interface with android application. it gives error.


这篇关于我用C#创建小型移动Android应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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