Thursday, October 21, 2010

Read from WebConfig

 webconfig configuration
    < appSettings >

        < add key="ROOT_TEMP" value="\\dir\" / >
cs CODE

using System.Configuration;
public string ROOT_TEMP = ConfigurationManager.AppSettings["ROOT_TEMP"].ToString();

No comments:

Post a Comment