【錯誤訊息】System.Web.Services.Protocols.SoapException: System.Web.Services.Protocols.SoapException: 伺服器無法處理要求。 ---> System.Data.SqlClient.SqlException: 發現除以零的錯誤。
於 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
於 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
於 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
於 System.Data.SqlClient.SqlDataReader.TryHasMoreRows(Boolean& moreRows)
於 System.Data.SqlClient.SqlDataReader.TryReadInternal(Boolean setTimeout, Boolean& more)
於 System.Data.SqlClient.SqlDataReader.Read()
於 System.Data.Common.DataAdapter.FillLoadDataRow(SchemaMapping mapping)
於 System.Data.Common.DataAdapter.FillFromReader(DataSet dataset, DataTable datatable, String srcTable, DataReaderContainer dataReader, Int32 startRecord, Int32 maxRecords, DataColumn parentChapterColumn, Object parentChapterValue)
於 System.Data.Common.DataAdapter.Fill(DataSet dataSet, String srcTable, IDataReader dataReader, Int32 startRecord, Int32 maxRecords)
於 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
於 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
於 System.Data.Common.DbDataAdapter.Fill(DataSet dataSet)
於 WSAdm.Query(String SQLselect)
--- 內部例外狀況堆疊追蹤的結尾 ---
於 System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
於 System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
於 tchw.dlwsadm.WSAdm.Query(String SQLselect)
於 tchw.DB.Query(String Hospital, String DB, String SQL)
於 BedQry.RadioButtonList1_SelectedIndexChanged(Object sender, EventArgs e) |