Last post May 02, 2005 02:30 PM by christiantoivola
Apr 12, 2005 03:30 AM|tbandri|LINK
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??
May 02, 2005 02:30 PM|christiantoivola|LINK
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. ;)