Jump to content

Help with ASP page querying Database using SQL and using VBScript/JavaScript

- - - - -

  • Please log in to reply
No replies to this topic

#1
Salrandin

Salrandin

    Newbie

  • Members
  • PipPip
  • 10 posts
Hey guys, I need query this database with a sequel statement then I want to manipulate the data on an ASP. I know how to get the query using VBScript on an ASP but for what I need to do, JAVAScript is just so much better. Unfortunately I know not how to get a query using JavaScript or JSP but I looked online and found ways to pass VBscript data to javascript data but I am not able to get it to work with my database. The method I'm talking about is: (I have VB set as default language)

<%

Dim a

a = "asdf"

%>

<Script language = javascript>

var str;

str = "hi" + <%a%>;

</SCRIPT>

Thats the general idea of what Ive been trying. Except I need put a VB query into a javascript array. O and also, this is server side of course. Anything would be helpful. Thanks.
On C/C++ I use MS Visual Studios 2005 Express (yuck)
On Java I use BlueJ (Rocks!)




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users