TextBox databind question

paulpiscoi
01-14-2004, 03:52 AM
Hello,

This is my problem:

I have a textbox in DataBinding with a field in a dataset.
If I manually change the value in the textbox the databinding works fine, but if I change the textbox.text programmatically (ex. textbox1.text="Hello") then the dataset doesn’t seem to accept the new value. It's like it doesn’t detect the changes made in the textbox.

I am sure this is something very basic.

Thank you,

Paul.

AFterlife
01-14-2004, 10:27 PM
Hello,

This is my problem:

I have a textbox in DataBinding with a field in a dataset.
If I manually change the value in the textbox the databinding works fine, but if I change the textbox.text programmatically (ex. textbox1.text="Hello") then the dataset doesn’t seem to accept the new value. It's like it doesn’t detect the changes made in the textbox.

I am sure this is something very basic.

Thank you,

Paul.
I know this doesnt answer your question.But have you tryed to do this unbound? Databinding is more complicated in .net. But unbound is more powerful and makes more sense. At least you get to see the guts of whats going on. Did you try the .accept changes method?

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum