/* In webconfig file add the following code...
<appsettings>
<add key="ChooseMode" value="LIVE"></add><!--
Set ChooseMode as TEST for test server.
Set ChooseMode as LIVE for live server.
-->
</appsettings>
/* We can take this value by using c#,asp.net 2.0 by giving the key "ChooseMode" is
using System.Configuration; //name space
string ChooseMode=System.Configuration.ConfigurationManager.AppSettings
.Get("ChooseMode");
Thursday, June 4, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment