<appSettings>
<add key="pat_ins_suc" value="patient registration successful."/>
</appSettings>
i want to display the value using JavaScript alert() function in the browser using one method call.
public void display()
{
string msg = ConfigurationManager.AppSettings["pat_ins_suc"];
}
how to pass the string msg inside the alert() function so that it will display in the web browser.