1.在页面中加入:
<asp:TextBox ID="pName" runat="server" Text="Love"></asp:TextBox>
2.在Atlas脚本中加入:
<textBox id="pName" visible="false"/>
注:其中loadMethod指定Web Service中要调用的方法,binding 绑定相关参数。textBox 的visible属性设置为false时,参数对应的输入框被隐藏!
<asp:TextBox ID="pName" runat="server" Text="Love"></asp:TextBox>
2.在Atlas脚本中加入:
<textBox id="pName" visible="false"/>
<dataSource id="listDataSource" autoLoad="true" serviceURL="MyService.asmx" loadMethod="GetListData" >
<bindings>
<binding dataContext="pName" dataPath="text" property="parameters" propertyKey="name" direction="In"/>
</bindings>
注:其中loadMethod指定Web Service中要调用的方法,binding 绑定相关参数。textBox 的visible属性设置为false时,参数对应的输入框被隐藏!
浙公网安备 33010602011771号