Which is faster and the elegent method?

Results 1 to 2 of 2

Thread: Which is faster and the elegent method?

  1. #1
    Varghese Chacko Guest

    Default Which is faster and the elegent method?

    I have a recordset and want to display a field on the browser. I can use any of the following method. But which is faster?<BR><BR>1. &#060;P>My Name is: &#060;%=rsEmployee("name")&#037;&#062;&#060;/P><BR>2. Dim strHTML<BR> strHTML = "&#060;P>My Name is:" & "&#060;%=rsEmployee("name")&#037;&#062;" & "&#060;/P>"<BR> document.write strHTML<BR>3. Response.write "&#060;P>" & "My Name is:" & rsEmployee("name") & "&#060;/P>"<BR><BR>Thanks!

  2. #2
    Savio Rodrigues Guest

    Default RE: Which is faster and the elegent method?

    The first method is the fastest...<BR><BR>1. &#060;P&#062;My Name is: &#060;%=rsEmployee("name")%&#062;&#060;/P&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •