行 42: 行 43: context.Response.AppendHeader("Content-Disposition", "attachment; filename=" & FileName) 行 44: Dim Fn3 As String = dv.Item(0).Item("Type").ToString.Trim 行 45: Fn3 = Mid(Fn3, 2) 行 46: If Fn3 = ".docx" Then
[IndexOutOfRangeException: 索引 0 不是一個負數值,也不會超過資料列總數。] System.Data.DataView.GetRow(Int32 index) +2157607 System.Data.DataView.get_Item(Int32 recordIndex) +16 JPTestDown.ProcessRequest(HttpContext context) in C:\inetpub\mobile\JPTestDown.ashx:44 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +790 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +195 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +88