Never seen this before, please help

asp.net United States
  • 18 years ago

    Hi everyone, please help me if you can,


    Im reading this code in ASP.NET, HTML + vbscript:


    Do while objDataReader.Read ()
        strTable += <tr><td>" & objDataReader ("CustomerID") & _
       "</td><td> & nbsp" & objDataReader ("CompanyName") & _
       "</td><td> & nbsp" & objDataReader ("ContactName") & _
       "</td></tr>"
    Loop


    My question is about - nbsp - i've never seen this anywhere, not in VB and not in HTML, This code is supposed to build a table...


    Does anybody knows whats nbsp?


    Thank you


    LMDG

  • 18 years ago

    yeah.. infact its inserted wrong... it should be:


      it gives a tab or a space(I cant remembernow) in HTML... so if you want to start little distance away from a picture and doing "    " wont help you use  


    hope that helps!

  • 18 years ago

    Got it, thank you very much


    LMDG

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“God could create the world in six days because he didn't have to make it compatible with the previous version.”