Current value from a binding source

  • Thread starter Thread starter camel
  • Start date Start date
C

camel

I need a value from a bindingsource for example:

string x = bs.current["columnname"].value

is this possible. I am passing this string from one form to another.
 
I need a value from a bindingsource for example:

string x = bs.current["columnname"].value

is this possible. I am passing this string from one form to another.
Got it!

string x = ((DataRowView)BindingSource.Current).Row
["columnName"].ToString();
 

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