Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6010641
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T02:08:43+00:00 2026-05-23T02:08:43+00:00

I am saving Visualizations in a database, title, description…etc and CODE field, in the

  • 0

I am saving Visualizations in a database, title, description…etc and CODE field, in the Code field I save the “code” that will generate the visualization, it may be as simple as a URL for an image hosted somewhere, or something like:

<script src="https://spreadsheets.google.com/gpub?url=http%3A%2F%2Foj0ijfii34kccq3ioto7mdspc7r2s7o9-ss-opensocial.googleusercontent.com%2Fgadgets%2Fifr%3Fup_title%3DBrands%26up_initialstate%26up__table_query_url%3Dhttps%253A%252F%252Fspreadsheets.google.com%252Fspreadsheet%252Ftq%253Frange%253DA%25253AE%2526key%253D0AqFjLMbUaBn_dFhwbV9DQ3N6cWN1SmFiUlF5X1RXUkE%2526gid%253D0%2526pub%253D1%26url%3Dhttp%253A%252F%252Fwww.google.com%252Fig%252Fmodules%252Fmotionchart.xml%26spreadsheets%3Dspreadsheets&height=448&width=710"></script>

I am saving this as an nvarchar(max) in my database, now I have a page that should display the visualization I call on run time, so what is the best way to do so?! a div for example? and how?

Thanks in dvance

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T02:08:44+00:00Added an answer on May 23, 2026 at 2:08 am

    ok, here you go Maen …

    1) Declare your IFrame (you can set more properties like height & width):

    <IFRAME id="frame1" scrolling="auto" runat="server">
    </IFRAME>
    

    2) Get the URL from your “Script” stored in your Database

    frame1.Attributes["src"] = DAL.GetURLPath();
    

    does this help?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm having trouble saving a new row in the DataGridView back to the database.
I have a Service that hits a database every 10 sec and gets the
After saving some values into the database, I am finding it difficult to print
After saving a rails model, I'd like to generate an md5 hash of the
I am saving a image into database with byte[] property like this: ProfileModel: private
I have problem with saving object to database with NHibernate. Program throws no error
I need to saving strings in database. Each string has different size from 1
I'm having trouble saving an entity into an SQL Server 2005 database. I'm using
I am saving user-submitted HTML (in a database). I must prevent JavaScript injection attacks.
I'm saving html and/or rich formated text in a database, and I'm trying to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.