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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -