Ws

  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Ws as PDF for free.

More details

  • Words: 79
  • Pages: 1
how to call a webmethod in webservices? its just similar to call a function of a dll. suppose your webservice is like : public class service1 : system.web.services.webservice { [webmethod] public double getinterest(double principle, double roi, double noofyrs) { return ((principle * roi * noofyrs)/100); } } to call this webmethod in another aspx page, all you have to do is: protected void button1_click(object sender, eventargs e) { webservicetest.service1 intservice = new webservicetest.service1(); textbox4.text = intservice.getinterest(system.double.parse(textbox1.text), system.double.parse(textbox2.text), system.double.parse(textbox3.text)).tostring(); }

Related Documents

Ws
October 2019 40
Ws
November 2019 33
Ws 's Home Ws
October 2019 30
Ws I Spy Ws
October 2019 39
Ws Neighborhood Bingo Ws
October 2019 26
Ws-mt221
April 2020 3