如何通过我的应用程序向服务器发送反馈信息? [英] How to send feed back information to server via my application?

查看:129
本文介绍了如何通过我的应用程序向服务器发送反馈信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中将使用反馈表单。我必须向服务器发送反馈信息。请帮助我如何将信息发送到Windows Phone中的服务器。

您可以使用EmailTask​​:

  var emailTask​​ = new EmailComposeTask 
{
To =feedback@mycompany.com,
Subject = subjectTextBox.Text,
Body = String.Format(亲爱的{0},/ n请让{1}+
知道我想{2}。\ n这个+
一直在困扰我{3}天。+
我希望你能帮助我.Kindest +
问候,\ n {4} \ n,toTextBox.Text,
nameTextBox.Text,activityTextBox.Text,
daysTextBox.Text,senderTextBox.Text)
};

emailTask​​.Show();

或者您可以发布网络服务,或者您可以拥有一个网页,您可以将WebBrowser控件指向。



这一切都取决于您希望收到反馈的方式,并且(可能)继续对话。


In my application feedback form will be used .i have to send feedback information to server.please help me how to send information to server in windows phone.

解决方案

You could use the EmailTask:

var emailTask = new EmailComposeTask
{
    To = "feedback@mycompany.com",
    Subject = subjectTextBox.Text,
    Body = String.Format("Dear {0},/nPlease let {1}" + 
           " know that I would like to {2}.\nThis " + 
           "has been bothering me for {3} days now. " + 
           "I hope you can help me out. Kindest " + 
           "regards,\n{4}\n", toTextBox.Text, 
           nameTextBox.Text, activityTextBox.Text, 
           daysTextBox.Text, senderTextBox.Text)
};

emailTask.Show();

or you could publish a web service or you could have a web page that you point the WebBrowser control to.

It all depends on the way you want to receive the feedback and (perhaps) continue the conversation.

这篇关于如何通过我的应用程序向服务器发送反馈信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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