<%'功能:FSO刪除檔案'來源:http://jorkin.reallydo.com/article.asp?id=484'需要Path函數:http://jorkin.reallydo.com/article.asp?id=401Public Function Del(ByVal sFileName) On Error Resume Next Del = False sFileName = Path(sFileName) Dim oFSO Set
今天一個朋友看書說有個asp.net 組態工具是web版的,書上說“You can perform every configuration step except the provider configuration through the ASP.NET WAT, which includes a security wizard. Just select the Web Site ➤ ASP.NET Configuration menu from within Visual
<%'功能:在一個字串前面補全另一字串'來源:http://jorkin.reallydo.com/article.asp?id=452Public Function LFill(ByVal sString, ByVal sStr) Dim i, iStrLen : iStrLen = Len(sStr&"") For i = iStrLen To 1 Step -1 If Right(sStr, i ) = Left(sString, i ) Then
<%'功能:刪除二維數組中的iColumn列上值為sValue的行,當iColumn為-1時刪除第sValue行'來源:http://jorkin.reallydo.com/article.asp?id=483Function DelArray2(aArray, iColumn, sValue, bCompare) If Not IsArray(aArray) Then Exit Function Dim i, j, k, iUBound1,
<%'功能:對一個二維數組的指定列進行排序,DESC為倒序'來源:http://jorkin.reallydo.com/article.asp?id=447'需要Swap過程:http://jorkin.reallydo.com/article.asp?id=446Function SortArray2(ByVal aSortArray(), ByVal iSortColumn, ByVal sSortDirection) On Error Resume Next Dim i,