|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
例子2 <%@ WebService Language="JScript" class="Weather"%> import System import System.Web.Services class Weather { WebMethodAttribute function getConditions(strCity : String) : String { var now = new Date(); switch (strCity.toUpperCase()) { case "LONDON": if (now.getMonth() <= 7||now.getMonth() >=9) { return "overcast" } if { return "partly overcast" } break; case "SEATTLE": if (now.getMonth() == 7 && now.getDay()==4) { return "torrential rain" } else { return "rain" } break; case "LA": return "smoggy" break; case "PHOENIX": return "damn hot" break; default: return "partly cloudy with a chance of showers" } } } 返回类别: 教程 上一教程: 怎么学习asp?给非专业的asp兴趣者 下一教程: ADO+ 引导数据种类的演变(转自 ms 一) 您可以阅读与"使用JScript.NET创建asp.net页面(七)"相关的教程: · 使用JScript.NET创建asp.net页面(四) · 使用JScript.NET创建asp.net页面(三) · 使用JScript.NET创建asp.net页面(六) · 使用JScript.NET创建asp.net页面(五) · 使用JScript.NET创建asp.net页面(二) |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |