Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

[VB.NET 2010] Textbox databinding problem :confused:

$
0
0
Hi guys,
i'm facing into a very strange problem. I binded a custom string property to a textbox, using

textbox.databinding.add("Text",bindingsource,"Description")

and calling

me.bindingcontext(customclass).endcurrentedit
on a save button event's click
I do in this way in all my project and everything worked ok since now.
I upload the interested part in the zip file.

What's wrong in your opinion?

ps. in the example Attachment 94195 note that the object "Norme" is declared globally as lstAnagraficaNorme type. Feel free to make any changes or suggestion, i want to increase and improve my skills :)

thanks!
Yuri
Attached Files

Viewing all articles
Browse latest Browse all 27554

Trending Articles