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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

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

c# - Search and Add Comment with OpenXML for Word -