Posted on: 3/19/2011 2:41:38 AM | Views : 422

Hi everyone,
I want to ask if this is possible.
For example:
<script> void test() { String A="Hello Genius!"; } </script> This is a simple C# Code on the server side. Can I pass the 'A' value to Javascript?
To here for example:
<script type="text/javascript"> function test2() { window.alert(A); return false; } </script> Something like this. The reason I am asking is because I have to pass in values
retreived from our MSSQL Database to JavaScript.
The page is *.ASPX page with datas retrieving directly from our MSSQL database.
Thank you in advance!
 
...

Go to the complete details ...