G
Gabriel
Hello,
I'd like check all the control on my tabcontrol (all tabpages)
I tried this :
foreach (Control oControl in this.Controls)
{
if (oControl.GetType() == typeof(TextBox))
{
oControl.DataBindings.Clear();
}
}
But I don't pass in any case in the if and I have a lot fot texttox.
Any idea ?
Thanks,
I'd like check all the control on my tabcontrol (all tabpages)
I tried this :
foreach (Control oControl in this.Controls)
{
if (oControl.GetType() == typeof(TextBox))
{
oControl.DataBindings.Clear();
}
}
But I don't pass in any case in the if and I have a lot fot texttox.
Any idea ?
Thanks,