Currently I have a series of functions being called from a Button_Click event to refresh the form and using the selected material item in my combobox.
Ideally, I'd like the same set of functions and text box fills when the user selects a different material item with the combobox rather than forcing the button click every time new item is selected.
I tried adding the function call GetOnHand() to my SelectedIndexChanged but I get this error:
Cast from type 'DataRowView' to type 'String' is not valid
The functions is called
Public Function GetOnHand() As Double
new odbc command