Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Performance related Question.....

Reply
Thread Tools

Performance related Question.....

 
 
Cris Rock
Guest
Posts: n/a
 
      02-12-2004
In my ASP.Net application I am using webcontrols.TextBox to display data. I
can use the Label control to display my data here since I am using this edit
box as read only. Will there be any advantage of using label box instead of
text box in terms of memory usage or any other performance issue ? Please
advice.
Cris


 
Reply With Quote
 
 
 
 
Stefano Mostarda
Guest
Posts: n/a
 
      02-12-2004
Hi,

I don't think there are big differences between label and textbox, Both
of them are persistent accross requests.
The only difference is that the label iclude the text within <span> tags
while the textbox in the value property of the <input> tag. So there is
just a sligthly difference in the amount of byte sent to the browser.

Hope this helps

Stefano Mostarda MCP
Rome Italy
Cris Rock wrote:

> In my ASP.Net application I am using webcontrols.TextBox to display data. I
> can use the Label control to display my data here since I am using this edit
> box as read only. Will there be any advantage of using label box instead of
> text box in terms of memory usage or any other performance issue ? Please
> advice.
> Cris
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
performance question related to BST traversal subramanian100in@yahoo.com, India C Programming 1 03-26-2007 04:24 PM
JSP/Servlet performance related question itreflects@gmail.com Java 9 12-17-2006 05:43 AM
How should multiple (related) projects be arranged (structured) and configured so that they can share code, have a related package structure and enable proper unittesting, and ensuring no namespace collisions ToddLMorgan@gmail.com Python 14 04-21-2006 04:03 PM
How should threads be terminated? (related to 'Help with thread related tracebacks') Maxwell Hammer Python 7 06-18-2005 04:20 PM
Performance-related questions about an ASP.NET page... Sammy ASP .Net 2 02-15-2005 02:00 PM



Advertisments