Solved

JavaScript Run a SQL Stored Procedure to Fill a HTML Table

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

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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

757 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

16 Experts available now in Live!

Get 1:1 Help Now