
February 22nd, 2004, 10:22 PM
|
|
Registered User
|
|
Join Date: Jan 2004
Posts: 27
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
C#: determining type of control
i'm a new to this thing, so please be gentle. and thanks in advance.. hehe... how do i do this? let's say i have controls in the group box and i want to determine whether the control is a textbox or not... if so, clear it....
psuedo code...
- foreach(control c in groupbox.controls)
- if c is textbox, c.text=string.empty
thanx again...
--ayan
|