Solved

JavaScript Run a SQL Stored Procedure to Fill a HTML Table

Posted on 2012-03-15
2
163 Views
Last Modified: 2012-03-17
Hi,

I have an interesting issue where I have to to create an HTML page that can use a stored procedure in SQL.  I cannot use .NET, ASP or PHP being that the application that enables us to create customs forms will not use it.

So I am wondering how to use JavaScript to access a SQL database through ODBC System DSN and run a stored procedure and fill a HTML Table.  I would also have to pass variables to the stored procedure.  

Thank you for all of your help in advance

Thomas White
0
Comment
Question by:thomasm1948
2 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 37727505
Here's the only way I've seen: http://forums.asp.net/t/1285316.aspx  Note that it only works in IE because of the ActiveX part.
0
 

Author Closing Comment

by:thomasm1948
ID: 37733344
Thank you for the idea and it worked in HTML but I just found out that our application does not work with ActiveX.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now