Ollie90
asked on
Try Catch End Try question. Fill textbox on a certain error
i have in a try end try these lines, to fill dropboxes:
DropDownList16.SelectedVal ue = DropDownList16.Items.FindB yText(Stri ngs.Trim(s trSplitArr (1))).Valu e
i will have an error if strSplitArr(1) is not on the list of the dropdown.
what do i need to do, to catch the error for dropdownlist16 and if the value is not found, put the value of strSplitArr(1) in a textbox
DropDownList16.SelectedVal
i will have an error if strSplitArr(1) is not on the list of the dropdown.
what do i need to do, to catch the error for dropdownlist16 and if the value is not found, put the value of strSplitArr(1) in a textbox
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.