Binding to variable

  • Thread starter Thread starter Goh
  • Start date Start date
G

Goh

dear all,

I have learn context binding in the pass. I search the internet to find
some way for me to bind my dataset to my local variable. It also mean that
when I navigate the record the value of that variable should change
accordingly like our textbox.

Any been doing this before?

Please any advice is welcome, thanks.
 
Hi Goh,

As Miha said, you cannot bind you DataSet to some source, as DataSet itself
is a source. However, you can bind the controls (like textbox) to a
BindingSource and point the BindingSource to some other objects. Please
check the following links for more information about how to implement this.

http://msdn2.microsoft.com/en-us/library/xxxf124e.aspx
http://msdn2.microsoft.com/en-us/library/baya8sx4.aspx

Kevin Yu
Microsoft Online Community Support

============================================================================
==========================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
============================================================================
==========================

(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
Back
Top