The string I want to assign to the textbox just doens't appear in the box.
However, as I said, it works if the type for the textbox in the typed dataset
is of string. Could it be that the textbox, once bound to the dataset and
therefore expecting an int, doesn't accept any changes like textbox.text =
"123" since that is basically a string and not the expected int?
"Nicholas Paldino [.NET/C# MVP]" wrote:
Andre,
What do you mean it doesn't work? What is the result? Is it an
exception? Does the binding not occur?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"bisoft" <bi****@discussions.microsoft.com> wrote in message
news:33**********************************@microsof t.com... Hi
I have a textbox which is bound to a typed dataset. The type of the data
is
int. Now I'd like to programmatically change the value in this textbox
(i.e.
textBox1.text = "123"). For some reason this doesn't work. It works fine
when
the datatype is a string but not with an int. How can I do this?
Any help would be greatly appreciated. Thanks,
Andre