Blog Home  Home Feed your aggregator (RSS 2.0)  
Software Code Help - How you blank many controls(like textbox,checkbox,combobox etc) in C#.
Blog
 
# Wednesday, July 08, 2009
foreach ( objectcontrol in form1)
{ 
   if ( typeof Objectcontrol is TextBox)
   {

      Objectcontrol.text = "";
   }
   elseif ( typeof objectcontrol is checkbox)    {       objectcontorl.checked = false;    } }
Wednesday, July 08, 2009 7:30:50 AM (GMT Daylight Time, UTC+01:00)  #    Comments [0]   Interview Question C#  | 
Copyright © 2010 SoftwareCodeHelp. All rights reserved.
DasBlog 'Portal' theme by Johnny Hughes.
Pick a theme: