S
Serdar C.
hi there, i am writing a program with LOTS of textboxes in it.. my problem
is when i try to clean the textboxes with foreach it gives error.. heres how
my code looks like:
private void ClearText ()
{
foreach (textbox t in this.controls)
{
t.text = ""
}
}
but it doesnt work! it was working quite good on visual basic.net but this
code seems not working with c#?!
is when i try to clean the textboxes with foreach it gives error.. heres how
my code looks like:
private void ClearText ()
{
foreach (textbox t in this.controls)
{
t.text = ""
}
}
but it doesnt work! it was working quite good on visual basic.net but this
code seems not working with c#?!