客户端(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;
}
上面这么写不行。
客户端的代码:
private void button1_Click(object sender, System.EventArgs e)
{
localhost.NewDataSet a=new localhost.NewDataSet();
a=proxy.GetPerson();
string test=a.strB;
}
上面这么写不行。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货