开发者

getting index out of range exception could where the problem in the code is

开发者 https://www.devze.com 2023-01-14 05:18 出处:网络
dbReader = DAL.GetCaseSumCasesAssnCtrlMgmtCtrlChargeCodesLeftJoin(ClientKey, txtCaseNumber.Text) If dbReader.Read Then
dbReader = DAL.GetCaseSumCasesAssnCtrlMgmtCtrlChargeCodesLeftJoin(ClientKey, txtCaseNumber.Text)
If dbReader.Read Then
Try
  txtmgm.Text = dbReader.Item("MgmtCtrlpKey")
  HoldMGMKey = dbReader.Item("AssnCtrlpKey")
Catch ex As Exception
End Try

the exception is thrown at "AssnCt开发者_如何学JAVArlpkey"


It seems to me that your dbReader doesn't have the column you're requesting ("AssnCtrlpKey"). Check your database query for that column.

Your question is sufficiently vague, however, that it's a shot in the dark.

0

精彩评论

暂无评论...
验证码 换一张
取 消