Is it possible to write html code in a VB script?? RRS feed

  • Question

  • User-1967340581 posted


    Is it possible to write html code in a VB script?? I was using for several years php and now start programming in ASP .NET. In php you can do that by using echo:   echo "<td><div align=\"center\"><font face=\"Tahoma\">" . $line['title'] . "</div></td>"; Can i do something similar in ASP .NET??


    Tuesday, April 12, 2005 3:30 AM

All replies

  • User1796948403 posted

    you dont want to use VBScript, that is the old generation script language (classic ASP), which is similar to old school php.

    You need to get with the object oriented programming model.. You could most definitively do what you want to achieve, just create a custom UserControl and override the render method and add whatever html you need in there. Or, you could just do a Response.Write() and write out your html. 

    Trust me, once you get with ASP.Net (or Java for that matter too) you will never want to go back. I stopped using classic ASP 3 years ago and I havent looked back even once. ;)



    Monday, May 2, 2005 2:30 PM