jsp to sql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vasagam
    New Member
    • May 2008
    • 4

    jsp to sql

    i am design jsp website some date in sql server how i connect sql to jsp and desplay-
  • Delerna
    Recognized Expert Top Contributor
    • Jan 2008
    • 1134

    #2
    The basics are

    1) Create an ActiveX ODBC connection object to the sql server
    2) Create an ActiveX ODBC recordset object to store the data into
    3) Write an SQL query int a string variable
    4) Excute the query with the connection object and recieve the records into the recordset object
    5) Loop through the recordset object and using document.write send the data to the user in a standard html table.


    Thats the basics, for more detail you will need to provide more detail.
    Or search google with some of the above terms

    Regards and good luck. Its tough but possible. I taught myself with the help of google and websites such as this one. You just need to be more specific with your questions. ;)

    Comment

    Working...