Hi,
I have a CheckedListBox that I am trying to assign a variable to and it will not go be the code that I know to use(shown below).
I know it is not going because when it opens the form the field is blank. And I checked the variable is populated, and _PID is a global variable.
Any help I would really appreciate.
Thank you
My code:
I have a CheckedListBox that I am trying to assign a variable to and it will not go be the code that I know to use(shown below).
I know it is not going because when it opens the form the field is blank. And I checked the variable is populated, and _PID is a global variable.
Any help I would really appreciate.
Thank you
My code:
VB.NET:
CheckedListBox_PurchaseID.Items.Add(_PID)
CheckedListBox_PurchaseID.SelectedIndex = 0