惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

G
Google Developers Blog
D
Docker
Stack Overflow Blog
Stack Overflow Blog
GbyAI
GbyAI
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
H
Help Net Security
T
Tailwind CSS Blog
Engineering at Meta
Engineering at Meta
L
LangChain Blog
MongoDB | Blog
MongoDB | Blog
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
S
SegmentFault 最新的问题
博客园 - 司徒正美
C
Check Point Blog
B
Blog
Y
Y Combinator Blog
Microsoft Azure Blog
Microsoft Azure Blog
P
Proofpoint News Feed
F
Fortinet All Blogs
美团技术团队
D
DataBreaches.Net

博客园 - XMLTea

马云语录 十个看完,九个有领悟 定位与口才的思维图 高效经理人的8个思维原则 TreeView控件经验汇总 无为而治的现代思考 Canon A620 首航 比爾·蓋次給年輕人的十一個建議 可怜的男人! ASP.net2.0学习资料汇总 今天在X2Blog上开张了! Web Service“四长两短” [ASP.NET] Session 详解 JAVASCRIPT加密解密终级指南 Javascript 常用函数库 AJAX / 概况(First Step Study For AJAX) [豪门恩怨] 奥迪A6L 宝马530i 奔驰E320 XMLHTTP / 核心技术介绍 (Second Step Study For AJAX) 掌握ADO.NET的十个热门技巧
Atlas调用Web Service时为dataSource指定方法和参数
XMLTea · 2006-08-21 · via 博客园 - XMLTea

1.在页面中加入:

     <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>

     </dataSource>

    注:其中loadMethod指定Web Service中要调用的方法,binding 绑定相关参数。textBox 的visible属性设置为false时,参数对应的输入框被隐藏!