以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  startIndex 不能大于字符串长度  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=174955)

--  作者:qaz17909
--  发布时间:2022/2/13 11:01:00
--  startIndex 不能大于字符串长度
为了在线浏览以及不出现乱码,HttpRequest中这样写是不是不行,经常出现错误弹窗:“startIndex 不能大于字符串长度”!
Dim cmd As New SQLCommand
cmd.C
Select Case e.path
    Case "select","tree","getValue","sidemenu","logs","getValues", _
        "uploadfile","deletefile","renamefile","filemanager","ExcelReport\\Report","WordReport\\Report","rep\\browsefile", _
        "existRow","updateRow","deleteRow","appendRow","tablecaption","tabledata"
        If e.Path.StartsWith("rep\\") Then
            e.Resp
        End If
        e.AsyncExecute = True
        Functions.AsyncExecute(e.path,e)
    Case Else
        e.AsReportServer("rep\\")
End Select

--  作者:有点蓝
--  发布时间:2022/2/13 20:51:00
--  
调试,看是哪一句代码出错