使用C#在Windows应用商店应用中的登录页面连接Web服务 [英] Connect Web Service using C# for Login Page in Windows Store App

查看:81
本文介绍了使用C#在Windows应用商店应用中的登录页面连接Web服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家......我有一个问题。有没有人知道如何使用C#连接Web服务?如何将用户名和密码发送到Web服务并收回结果?可以给我一些关于如何使用C#代码创建此页面的示例吗?



实际上,我使用visual studio 2012 ultimate为windows store app创建了一个登录页面。我的登录功能是在.asmx web服务下的框架3.5



我有2个标签,2个文本框和1个按钮..



谢谢,如果有人知道,请帮助我。我真的需要有人帮我找到这个解决方案..我的IP地址是http://61.14.148.30/dbservice/service1.asmx

Hi, Everyone...I have a question. Did anyone know how to connect web service using C#? How I can send the username and password to the web service and receive back the results? Can give me some examples about how to use C# code for create this page?

Actually, I create a login page for windows store app using visual studio 2012 ultimate. My login function is in .asmx web service which is under framework 3.5

I have 2 labels, 2 textboxes, and 1 buttons..

Thanks, Please help me if anyone know. I really need someone to help me find out this solution.. My ip address is http://61.14.148.30/dbservice/service1.asmx

推荐答案

看看在这些..



http://msdn.microsoft.com/en-us/library/t745kdsh(v = vs.90).aspx [ ^ ]

http://msdn.microsoft.com/en-us/library/bb628649.aspx [ ^ ]
Have a look at these..

http://msdn.microsoft.com/en-us/library/t745kdsh(v=vs.90).aspx[^]
http://msdn.microsoft.com/en-us/library/bb628649.aspx[^]


这篇关于使用C#在Windows应用商店应用中的登录页面连接Web服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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