Solved

JavaScript Run a SQL Stored Procedure to Fill a HTML Table

Posted on 2012-03-15
2
166 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
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.
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…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

860 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