Assign Value to Variable from DataTable

BobDude

Member
Joined
Jan 26, 2007
Messages
5
Programming Experience
Beginner
Howdy.

I have a valid datasource and tableadapter in my .xsd page.
I assign a value to run a sproc that is used to fill the tableadapter.

Me.TableAdapter.Fill(Me.DataSource,Sproc, "InputValue")

On my form I have labels.
Through the properties window I can assign a value to them from the DataBindingSource & ColumnName.

This isn't a problem.

My question is how can I assign a value from DataSource or Adapter to a variable in the code?
 
This question doesnt make much sense..

Are you asking about programmatically BINDING a control to a data element, or are you talking about one-time taking a value froma data element and putting it in a control?
 
Back
Top