DataBinding

G

Guest

Hi All,

I am databinding a DataSet field with a text box, which works fine, the
syntax I am using is as follows

txtTextbox.DataBinding.Add("Text",dvDataView,"Field")

However, when I do Debug.Write(txtTextbox.Text) it come's up blank

Any ideas.


Thanks in advance


Dave
 
G

Guest

Cor,

Well that bit works fine, although as I'm not in front of my PC right now so
I may have the syntax slightly wrong. The the actual textbox displays the
value fine, it's when I try to referance it like debug.write(txtTextbox.text)
I get a "" value.

Any ideas

Dave
 
C

Cor Ligthert

Dave,

I tried it to be sure, however with me it displays the data.

So maybe you can show some more code.

Cor
 

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

Top