How multiple languages can be used in same application? [Resolved]

Posted by Ray.chayan under ASP.NET on 9/11/2010 | Points: 10 | Views : 3081 | Status : [Member] | Replies : 2
How multiple languages can be used in same application. One path is by making different layers in different languages(vb, and c# languages in same application). Is their any another path to do it?




Responses

Posted by: Abhi2434 on: 9/11/2010 [Member] [Microsoft_MVP] [MVP] Silver | Points: 50

Up
0
Down

Resolved
In a single page, it is not possible to use more than one Language.

Otherwise you can create two pages in two Languages one for C# and another for VB.NET. When you build the solution, it will separately compile each using its own compiler(it automatically produces a Compilers section in web.config) and produces two interlinked assemblies.

The Page has a Language property which specifies the language of CodeBehind.

www.abhisheksur.com

Ray.chayan, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ray.chayan on: 9/11/2010 [Member] Starter | Points: 25

Up
0
Down
Hi Abhi, it is working fine. But there is no change in the web.config file as u said. "(it automatically produces a Compilers section in web.config) and produces two interlinked assemblies. ".

Ray.chayan, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response