Javascript is client-side.
ASP is server-side.
That means that
ASP generates
HTML and Javascript and sends it to the browser. Javascript runs on the client browser and can't access a server. The two languages can't "run" together because one lives on a web server and the other lives in browsers, so to speak.
I think you could load stuff from a databank using
Ajax, but I'm not an
Ajax person at all.