ASP.NET Pages Can Contain Only a Single Language

In ASP Classic, you can use the <Script> tag to add scripts written with different languages to the same page. For example, you can create a VBScript script that calls a function from a JScript script within the same page by containing the scripts in separate <Script> blocks.

ASP.NET does not support more than a single language in the same page. If you want to mix multiple languages, you need to create separate components . For example, you can create a component in C# and access the methods and properties of the component in an ASP.NET page written in Visual Basic .NET.

ASP.NET Unleashed
ASP.NET 4 Unleashed
ISBN: 0672331128
EAN: 2147483647
Year: 2003
Pages: 263

Similar book on Amazon © 2008-2017.
If you may any questions please contact us: