Hey
I have a BindingSource on my form that collects data from a table. I am showing 3 columns out of 17 in a grid and need to capture the remaining 14 column values for a row. I can assign the BindingSource to a text box to display the specific value but how can i do it in code to save the values into a collection of properties?
I have tried this currently which is throwing an error (Cannot cast to type)
ThermalBreak = directCast(ProjectDataBindingSource.Current, DataViewRow).Item("_thermal_break").ToString
i have also tried
ThermalBreak = directCast(ProjectDataBindingSource.Current, DataViewRow).Item(0).ToString
Thanks