Get Configuration Settings using Javascript

Naimishforu
Posted by Naimishforu under JavaScript category on | Points: 40 | Views : 2599
<script type="text/javascript">
function GetConfigSettings()
{
var cnstr = '<%=ConfigurationManager.AppSettings["ConnectionString"].ToString() %>'
alert(cnstr);
}
</script>

Comments or Responses

Login to post response