使用asp.net将android连接到sql server DataBase Via webservice [英] connect android to sql server DataBase Via webservice using asp.net

查看:83
本文介绍了使用asp.net将android连接到sql server DataBase Via webservice的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



new to android,我有 创建登录界面,将连接到 sql server数据库,任何一个plz提供< span class =code-keyword> me 源代码

解决方案

没有人会给你你的来源码。当你遇到问题我们会帮你编写自己的代码,但我们不打算为你做研究(因为你在这个过程中什么都不学)我们不会为你编写代码(因为你在这个过程中什么都不学。)



你的重点不在于你描述的整个过程,端到端。它应该一次只有一件事。了解如何编写Web服务。了解如何编写连接到SQL数据库以获取其数据的Web服务代码。了解如何编写调用Web服务方法的Android代码并获取要处理的返回值。每个都是一个单独的体验。


学习自己从 http://www.tutecentral.com/restful-api-for-android-part-1/ [ ^ ]


您可以使用HttpClient与asp.net rest服务进行通信

Hi,

I am new to android,i have to create login screen connecting to sql server database,any one plz provide me source code

解决方案

Nobody is going to "give" you the source code. We'll help you with writing your own code when you get stuck but we're not going to do your research for you (because you learn nothing in the process) and we're not going to write your code for you (because you learn nothing in the process).

Your focus is not on the entire process you described, end to end. It should be on one thing at a time. Learn how to write a web service. Learn how to write web service code that connects to a SQL database to get its data. Learn how to write Android code that calls a web service method and gets a return value to process. Each of these is a separate experience.


Learn to do it yourself from http://www.tutecentral.com/restful-api-for-android-part-1/[^]


You can using HttpClient to communicate with asp.net rest service


这篇关于使用asp.net将android连接到sql server DataBase Via webservice的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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