I need to capture the value of a specific field in the CurrentChange event. The problem is, I’m not sure how to convert a bindingSource.current (which returns an object) to a DataTable or equivalent so I can grab a field value.
Any ideas?
Cheers.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming the data source of your
BindingSourceis aDataTable, then theCurrentproperty will return an instance ofDataRowView. You can access the originalDataRowthrough theRowproperty.