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.
精彩评论