比如在一个richbox里写了个字符串 "hello"
在一个web service里有个
[method]
public string OK(string S)
{
return S;
}怎么把richbox中的数据"hello"给到OK()里啊?
在一个web service里有个
[method]
public string OK(string S)
{
return S;
}怎么把richbox中的数据"hello"给到OK()里啊?
localhost.Service ws=new localhost.Service();
//调用Web方法
string str=ws.OK("hello");