WordPress.org

Ready to get started?Download WordPress

Forums

Pull data from an asp.net database (2 posts)

  1. paulmbrandon@
    Member
    Posted 4 years ago #

    I am working on some sites - the clients need the sites to be in a WordPress CMS. There are components of this site that draw information from third party database links that are in asp.net

    Is there I way I can install a iframes into WordPress and embed the asp.net into the iframes?

    An example would be jackyjones.net - if you look at their inventory, it is all generated from a database. Could I make an "outer shell" in wordpress, then insert an iframe that generates from the .NET?

    Also, would I have to do this on a Windows Dedicated Server?

    Thanks,
    Paul

  2. Eric Mann
    Member
    Posted 4 years ago #

    You _could_ do this with an iframe, but I wouldn't recommend it. That's sloppy and some browsers will just kick it out (particularly if people are using ad blocking software).

    If your client needs to access information from a MS SQL database, you can do this directly within PHP. Just make sure you are using the right version! But use the mssql_connect() function to connect to the database, then you can pass queries natively in PHP and use the data elsewhere in WordPress.

    There's more detail about mssql_connect() here: http://us2.php.net/function.mssql-connect

Topic Closed

This topic has been closed to new replies.

About this Topic