469,613 Members | 1,270 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,613 developers. It's quick & easy.

changed bound textbox.text = "" programatically bindingsource.endedit() does not work

nev
251 100+
my textbox displays "hello"

i change the value of textbox through code like this:

textbox.text = ""

then i do:

bindingsource.endedit()
tableadapter.update(dataset.datatable)

when i run the program, my textbox still displays "hello"

help me...
Nov 16 '07 #1
3 3603
nev
251 100+
i tried this before endedit() but does not work:

textBox.DataBindings("Text").BindingManagerBase.En dCurrentEdit()
Nov 16 '07 #2
kenobewan
4,871 Expert 4TB
I think that you are running into a postback issue, that is why it still reads hello. HTH.
Nov 16 '07 #3
nev
251 100+
I think that you are running into a postback issue, that is why it still reads hello. HTH.
thanks for the input.
Jan 28 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Silmar | last post: by
3 posts views Thread by =?Utf-8?B?Q3ltZXI=?= | last post: by
16 posts views Thread by mj.redfox.mj | last post: by
reply views Thread by devrayhaan | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.