asp.net - textbox in line better solution -


today (coded in asp.net c#) , have 2 cases below , want grab attention better way of doing below case.

case 1:

textbox1.text=textbox2.text=textbox3.text=textbox4.text=""; 

to emplty textboex in asp.net.previously using

case 2:

textbox1.text=""; textbox2.text=""; textbox3.text=""; textbox4.text=""; 

i can navigate control type of textbox , empty it.( please don't think it.)

my concern here better way according performance case 1 or case 2.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -