客户端(windowsform)添加web引用(localhost),然后在form中写localhost.personset可以吗?这里是根本看不到personset这个类的,只有NewDataSet,如果写成localhost.NewDataSet a=new localhost.NewDataSet(),然后a.strB也不行啊。
客户端的代码:
private void button1_Click(object sender, System.EventArgs e)
{
localhost.NewDataSet a=new localhost.NewDataSet();
a=proxy.GetPerson();
string test=a.strB;

}
上面这么写不行。