Solved

JavaScript Run a SQL Stored Procedure to Fill a HTML Table

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

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

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

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

803 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