当前位置:首页
开发技术指南» 文章正文
    引言:

    摘要: </asp:templatecolumn> <asp:templatecolumn headertext="隶属关系"> <itemtemplate> <asp:label text=<%# server.htmlencode((string)databinder.eval(container.dataitem, &quo......
    摘要: 如题 ......


客户端向服务器传送xml格式数据,如何在服务器读出该数据并且简单回应

客户端向服务器传送xml格式数据,如何在服务器读出该数据并且简单回应?

NO.1   作者: s2722357

转成string   传过去,方法用   out   返回参数就可以呀比如  
   
  public   void   x   (string   z,out   string   y)  
  {  
          y="方法有运行";  
  }  
  =====================  
  我都这么用

NO.2   作者: s2722357

客户端就  
   
  string   y;  
  public   void   x   (z.outxml,out   y)  
  {  
  }  
  if(y=="方法有运行")  
  {  
   
  }  
  else  
  {  
  }

NO.3   作者: s2722357

客户端就  
   
  string   y;  
   
  XX.x(z.outxml,out   y);  
  if(y=="方法有运行")  
  {  
   
  }  
  else  
  {  
  }


    摘要: 请问怎么实现?谢谢! ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE