MCQs>IT & Programming>Web Services>You have created a Web service named 'Service1'. The client application of 'Service1' has a textbox called 'textbox1' and you want to set the value of textbox1.text as UserAgent of 'Service1'. Which code will you apply to accomplish this?
Web Services MCQs
You have created a Web service named 'Service1'. The client application of 'Service1' has a textbox called 'textbox1' and you want to set the value of textbox1.text as UserAgent of 'Service1'. Which code will you apply to accomplish this?
Answer
Correct Answer: localhost.Service1 s = new localhost.Service1(); s.UserAgent = this.textBox1.Text;
Explanation:
Note: This Question is unanswered, help us to find answer for this one