I have bound a CalendarInfo object to a datatable called "Owners" in a dataset. If I loop through the Owners collection, is there an easy way to get back to the corresponding datarow that it is bound to?
Richard,
Try using the BindingListObject property off the Owner. This property will return the index associated with this owner in the BindingList. Let me know if that works for you.
I got it working by getting the DataRowView from the BindingListObject. I was getting thrown off because the unassigned owner is always the first one in the list and the BindingListObject was set to nothing. Thanks for your help!
I'm glad you got it working.