锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产有码在线,欧美在线视频观看,久久人人爽人人爽人人片av高清http://www.aygfsteel.com/kent/category/31521.html鎬佸害鍐沖畾楂樺害錛岃矗浠昏儨浜庤兘鍔涳紱鎬濇兂姣旂煡璇嗘洿閲嶈錛屾垚闀挎瘮鎴愬姛鏇撮噸瑕侊紒zh-cnThu, 22 Apr 2010 15:35:58 GMTThu, 22 Apr 2010 15:35:58 GMT60ASP涓殑Class綾?/title><link>http://www.aygfsteel.com/kent/articles/202972.html</link><dc:creator>鍐風溂</dc:creator><author>鍐風溂</author><pubDate>Mon, 26 May 2008 08:53:00 GMT</pubDate><guid>http://www.aygfsteel.com/kent/articles/202972.html</guid><description><![CDATA[<%<br />Class Rectangle<br />聽聽聽Private intWidth<br />聽聽聽Private intHeight<br /><br />聽聽聽Public Property Let width(iWidth)<br />聽聽聽聽聽聽intWidth =聽iWidth<br />聽聽聽聽聽聽'鍙傛暟楠岃瘉鐣?br />聽聽聽End Property<br /><br />聽聽聽Public Property Let height(iHeight)<br />聽聽聽聽聽聽intHeight =聽iHeight<br />聽聽聽聽聽聽'鍙傛暟楠岃瘉鐣?br />聽聽聽End Property<br /><br />聽聽聽Private Sub Class_Initialize<br />聽聽聽聽聽聽'綾誨垵濮嬪寲浠g爜<br />聽聽聽End Sub<br /><br />聽聽聽Public Function perimeter()<br />聽聽聽聽聽聽'榪斿洖鐭╁艦鐨勫懆闀?br />聽聽聽聽聽聽getResult = 2*(intHeight + intWidth)<br />聽聽聽End Function<br /><br />聽聽聽Private Sub Class_Terminate<br />聽聽聽聽聽聽'綾婚攢姣佹椂鎵ц鐨勪唬鐮?br />聽聽聽End Sub<br /><br />End Class<br /><br /><br />'璋冪敤綾?br />Dim obj<br />Set objRectangle = new Rectangle<br />objRectangle.width = 10<br />objRectangle.height = 20<br />Response.Write(objRectangle.perimeter())<br />Set聽objRectangle = Nothing<br />%> <img src ="http://www.aygfsteel.com/kent/aggbug/202972.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/kent/" target="_blank">鍐風溂</a> 2008-05-26 16:53 <a href="http://www.aygfsteel.com/kent/articles/202972.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>鏍規嵁鏃ユ湡榪斿洖瀵瑰簲鐨勬槦搴х紪鍙?/title><link>http://www.aygfsteel.com/kent/articles/201962.html</link><dc:creator>鍐風溂</dc:creator><author>鍐風溂</author><pubDate>Wed, 21 May 2008 09:12:00 GMT</pubDate><guid>http://www.aygfsteel.com/kent/articles/201962.html</guid><description><![CDATA[ <p>鏍規嵁杈撳叆鐨勬湀浠藉拰鏃ユ湡錛岃繑鍥炲搴旂殑鏄熷駭緙栧彿錛岄檮鏄熷駭瀵圭収琛細</p> <table cellspacing="0" bordercolordark="#0000ff" cellpadding="4" bordercolorlight="#ffffff" border="1"> <tbody> <tr> <td> <div align="center">緙栧彿</div> </td> <td> <div align="center">璧鋒鏃ユ湡</div> </td> <td> <div align="center">鍚嶇О</div> </td> </tr> <tr> <td>1</td> <td>12.22 - 1.19</td> <td>欖旂警</td> </tr> <tr> <td>2</td> <td>1.20 - 2.18</td> <td>姘寸摱</td> </tr> <tr> <td>3</td> <td>2.19 - 3.20</td> <td>鍙岄奔</td> </tr> <tr> <td>4</td> <td>3.21 - 4.20</td> <td>鐗$緤</td> </tr> <tr> <td>5</td> <td>4.21 - 5.20</td> <td>閲戠墰</td> </tr> <tr> <td>6</td> <td>5.21 - 6.21</td> <td>鍙屽瓙</td> </tr> <tr> <td>7</td> <td>6.22 - 7.22</td> <td>宸ㄨ煿</td> </tr> <tr> <td>8</td> <td>7.23 - 8.22</td> <td>鐙瓙</td> </tr> <tr> <td>9</td> <td>8.23 - 9.22</td> <td>澶勫コ</td> </tr> <tr> <td>10</td> <td>9.23 - 10.22</td> <td>澶╃Г</td> </tr> <tr> <td>11</td> <td>10.23 - 11.21</td> <td>澶╄潕</td> </tr> <tr> <td>12</td> <td>11.22 - 12.21</td> <td>灝勬墜</td> </tr> </tbody> </table> <br /> <br /> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #008000">'杈撳叆鏃ユ湡榪斿洖鏄熷駭緙栧彿</span> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #000000">Response.write聽getConstellation(11,23)</span> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /> <span style="COLOR: #0000ff">Function</span> <span style="COLOR: #000000">getConstellation(iMonth,聽iDay)</span> <br /> <img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽 <span style="COLOR: #0000ff">Dim</span><span style="COLOR: #000000">聽sDay,聽aDay</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽 <span style="COLOR: #000000">sDay = "20,19,21,21,21,22,23,23,23,23,22,22"</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽 <span style="COLOR: #000000">aDay = </span><span style="COLOR: #0000ff">Split</span><span style="COLOR: #000000">(sDay,",")</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽 <span style="COLOR: #0000ff">If </span><span style="COLOR: #000000">iDay < aDay(iMonth - 1) </span><span style="COLOR: #0000ff">Then</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽 <span style="COLOR: #000000">getConstellation = iMonth</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽 <span style="COLOR: #0000ff">Else</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽getConstellation <span style="COLOR: #000000">= iMonth + 1</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽聽聽聽聽<span style="COLOR: #0000ff">If </span><span style="COLOR: #000000">getConstellation = 13 </span><span style="COLOR: #0000ff">Then </span><span style="COLOR: #000000">getConstellation = 1</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽 <span style="COLOR: #0000ff">End If</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽 <span style="COLOR: #0000ff">Erase </span><span style="COLOR: #000000">aDay</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" />聽聽聽聽 <span style="COLOR: #0000ff">Set aDay = Nothing</span><br /><img src="http://www.aygfsteel.com/images/OutliningIndicators/None.gif" align="top" /><span style="COLOR: #0000ff">End聽Function</span></div> <br /> <p> <br />涓句竴鍙嶄笁錛屽鏋滆姹傝繑鍥炵殑鏄槦搴х殑鍚嶇О鑰屼笉鏄紪鍙峰憿錛熻鎬庝箞鍐欙紵璇昏呭彲浠ヨ嚜宸辮瘯涓涓嬨?/p> <img src ="http://www.aygfsteel.com/kent/aggbug/201962.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/kent/" target="_blank">鍐風溂</a> 2008-05-21 17:12 <a href="http://www.aygfsteel.com/kent/articles/201962.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>ASP璋冪敤瀛樺偍榪囩▼http://www.aygfsteel.com/kent/articles/201921.html鍐風溂鍐風溂Wed, 21 May 2008 07:26:00 GMThttp://www.aygfsteel.com/kent/articles/201921.html
Createproc聽sp_join
聽聽聽聽
@resultint聽output,
聽聽聽聽
@emailnvarchar(30),
聽聽聽聽
@usernamenvarchar(15)
AS

--聽寮濮嬩簨鍔?/span>
BeginTran
聽聽聽聽
INSERTINTO聽users(username,聽email)聽VALUES(@username,聽@email)
聽聽聽聽
IF@@ERROR<>0GOTO聽back

聽聽聽聽
INSERTINTO聽register(username)聽VALUES(@userName)
聽聽聽聽
IF@@ERROR<>0GOTO聽back


--聽鎻愪氦浜嬪姟
Set@result=1
CommitTran
Return


--聽鍥炴粴浜嬪姟
back:
聽聽聽聽
Set@result=0
聽聽聽聽
RollBackTran
聽聽聽聽
Return


鏁版嵁搴撹繛鎺ヤ唬鐮?br />
Sub聽Command(oCmd)
聽聽聽聽
Set聽oCmd聽=聽Server.CreateObject("ADODB.Command")
End聽Sub

Sub聽Connection(oConn)
聽聽聽聽
Set聽oConn聽=聽Server.CreateObject("ADODB.Connection")
聽聽聽聽oConn.Open聽
"Provider=SQLOLEDB;Server=;User聽ID=;Password=;Database=;"
End聽Sub

Sub聽Destroy(obj)
聽聽聽聽
IfisObject(obj)聽ThenSet聽obj聽=Nothing
End聽Sub


ASP璋冪敤浠g爜
Dim聽strEmail,聽strUserName
Dim聽objCmd,聽objConn,聽intResult

strEmail聽
=聽Request.Form("email")
strUserName聽
=聽Request.Form("username")

'鏈嶅姟鍣ㄧ鏁版嵁楠岃瘉錛堢暐錛?/span>

Command聽objCmd
Connection聽objConn

With聽objCmd
聽聽聽聽.ActiveConnection聽
=聽objConn
聽聽聽聽.CommandType聽
=4
聽聽聽聽.CommandText聽
="sp_join"
聽聽聽聽.Parameters.Refresh
聽聽聽聽.Parameters(
"@email")聽=聽strEmail
聽聽聽聽.Parameters(
"@username")聽=聽strUserName
聽聽聽聽.Execute
EndWith
intResult聽
=聽objCmd.parameters("@result")

Destroy聽objCmd
Destroy聽objConn

If聽intResult聽=0Then
聽聽聽聽Response.Write(
"娉ㄥ唽澶辮觸")
Else
聽聽聽聽Response.Write(
"娉ㄥ唽鎴愬姛")
EndIf

榪欐槸涓涓畝鍗曠殑渚嬪瓙錛屽笇鏈涜兘璧峰埌鎶涚爾寮曠帀鐨勪綔鐢ㄣ?/p>

鍐風溂 2008-05-21 15:26 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 溧阳市| 错那县| 库伦旗| 上栗县| 奇台县| 青岛市| 施秉县| 闸北区| 荣成市| 革吉县| 镇赉县| 望奎县| 虎林市| 光泽县| 金川县| 监利县| 全南县| 东宁县| 宽甸| 江达县| 花莲市| 台东市| 平乐县| 宁波市| 太仆寺旗| 黑河市| 黔西县| 偃师市| 区。| 梁河县| 赤峰市| 嵩明县| 延庆县| 金溪县| 渝北区| 托克托县| 瑞金市| 武冈市| 三穗县| 榕江县| 嘉义县|