Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 ASP.NET
 how to clear controls

Author  Topic 

salmonraju
Yak Posting Veteran

54 Posts

Posted - 2006-11-10 : 04:03:25
i am designing windows application
it contains 20 controls textbox,combobox,grid etc
its main task is to display details about user when correct/existing USER_ID is entered
if a user enter a USER_ID, appropriate records will be shown
but later if he enters incorrect USER_ID, a messagebox appears "INVALID USER",
but now i want to clear all the controls
how i have to do? am I have to use like this for each and every control
textbox.text="";


or any other "from event" exist for this particular usage

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-11-10 : 04:16:02
Already asked and answered here http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=74735
DO NOT POST SAME QUESTION MULTIPE TIMES!


Peter Larsson
Helsingborg, Sweden
Go to Top of Page
   

- Advertisement -