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??
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. ;)
None
0 Points
5 Posts
Is it possible to write html code in a VB script??
Apr 12, 2005 03:30 AM|tbandri|LINK
Hello,
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??
thanx
Member
10 Points
81 Posts
Re: Is it possible to write html code in a VB script??
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. ;)
regards,
Christian
Software Consultant
Dev360.com, LLC