if i took several controls on form ie 3textboxes,7buttons,2 labels and etc. i done the program for counting the total controls,individual controls that means how many textboxes and etc.but my problem is now i want to remove a particular control means i want to 2 textbox how is possible please tell me the logic or code
Comments
Textbox1.Visible=false
if u want ur control to be out of memory then i think
Textbox1.Dispose()
but i recomend u the first one....