How to send feed back information to server via my

2019-03-04 06:52发布

问题:

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.

回答1:

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.