ASP.NET 4 Unleashed

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.

Категории