conditional inclusion of a namespace
Hi all,
I m working on a multilanguage project in ASP.net C# v2.0.
I created a namespace "language.eng" and defined some text string within it.
Now, I want to include it after checking the configuration is set to language english.
let say if(Session["lang"].tostring() == "english") then I want to include this namespace
so that I can use the strings value...
Same if(Session["lang"].tostring() == "spanish") then I want to include "language.spenish" namespace.
How can I do this.
Please help.
Thanks in Advance.
Suman Singh
|