12.21
来源:互联网 发布:flash player 12 mac 编辑:程序博客网 时间:2024/05/25 01:36
通过今天的学习让我们掌握了Web Service基础 、创建web服务web服务发布到IIS下 电脑调用另一台电脑中的web服务(添加web引用的知识用法和类差不多:
比如:
cn.com.webxml.www.TrainTimeWebService wws = new cn.com.webxml.www.TrainTimeWebService();
DataSet ds = new DataSet();
ds = wws.getStationAndTimeByStationName(this.TextBox1.Text,this.TextBox2.Text,"");
GridView1.DataSource = ds;
this.DataBind();
和
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e){
cn.com.webxml.www.WeatherWebService wws = new cn.com.webxml.www.WeatherWebService();
BindCity(wws);
}
private void BindCity(cn.com.webxml.www.WeatherWebService wws){
this.DropDownList2.Items.Clear();
string[] strs = wws.getSupportCity(this.DropDownList1.SelectedValue);
foreach (string str in strs)
this.DropDownList2.Items.Add(new ListItem(str.Substring(0, str.IndexOf("("))));
}
- 12.21
- 12.21
- 12.21
- 12.21
- 12.21
- 12.21入驻CSDN
- 12.21未消化文章
- 总结(12.11-12.21)
- 12.21培训日记
- 12.21日学习内容
- 复习杂谈12.21
- 今日观察 12.21 观看想法
- week plan: 2014.12.15-12.21
- python 函数 课堂笔记 12.21
- 2014.6.15~12.21 重新写日志
- py的函数及练习 12.21
- 12.21 python的函数介绍及其应用
- 第三十四次(北京)软件测试交流会12.21号
- 使用strtok函数解析string类型数据
- JS 特效 用js实现radio选择钮效果
- “个人核心竞争力”与“危机感”
- AppWidget初步入门
- Copying Rowsets
- 12.21
- 下学期课表
- CSS中的class与id区别及用法
- Android Layout:LinearLayout
- 求解
- DIV滚动条滚到底部
- C学习总结
- 磁盘配额用户组的实现步骤
- SVN使用log,list,cat,diff查看所有及特定文件版本信息