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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -