开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜