bindingsource

  • Thread starter Thread starter Cdude
  • Start date Start date
C

Cdude

I need to access the current row of the bindingsource. I need to
assign that row to a DataRow[] is this possible.The reason i want to
do this is that i have a switch statement that needs the "AccessLevel"
value out of the current row.
 
Hi Cdude,

BindingSource.Current contains the currently selected item.

Based on what your BindingSource contain, cast the Current object to the
proper type and extract the AccessLevel info. Or bind AccessLevel directly
against a property of your own.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top