<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'Unable to retrieve the data with html view' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'Unable to retrieve the data with html view' posted on the 'Active Server Pages' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Wed, 23 May 2012 07:50:44 -0700</pubDate>
    <lastBuildDate>Wed, 23 May 2012 07:50:44 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>Unable to retrieve the data with html view</title>
      <link>http://www.programmersheaven.com/mb/aspfaq/400319/400319/unable-to-retrieve-the-data-with-html-view/</link>
      <description>Hi all, &lt;br /&gt;
I am trying to retrieve the data from my sql db in html view but it's not retrieving the data instead of it's giving the mysql query, so could you please help me on this..&lt;br /&gt;
&lt;br /&gt;
My code is &lt;br /&gt;
&lt;br /&gt;
	strSQL ="&amp;lt;table class=grid cellpadding=3 cellspacing=1 width=30&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td bgcolor=seashell colspan=2&amp;gt;&amp;lt;h3 class=formtitle&amp;gt;Environment Information&amp;lt;/h3&amp;gt;&amp;lt;/tr&amp;gt;"&amp;amp;_&lt;br /&gt;
                "select '&amp;lt;tr&amp;gt;&amp;lt;td bgcolor=seashell&amp;gt;Environment&amp;lt;/td&amp;gt;&amp;lt;td bgcolor=seashell&amp;gt;+version+&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;' from build_version "&amp;amp;_&lt;br /&gt;
                "where testsuiterunid=" &amp;amp; id &amp;amp; " or id=" &amp;amp; id &amp;amp; "union select '&amp;lt;tr&amp;gt;&amp;lt;td bgcolor=seashell&amp;gt;Robot&amp;lt;/td&amp;gt;&amp;lt;td bgcolor=seashell&amp;gt;'+automation_robot+'&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;' from execution_log "&amp;amp;_&lt;br /&gt;
		    "where testsuiterunid=" &amp;amp; id &amp;amp; " or id=" &amp;amp; id &amp;amp; "union select '&amp;lt;tr&amp;gt;&amp;lt;td bgcolor=seashell&amp;gt;Environment&amp;lt;/td&amp;gt;&amp;lt;td bgcolor=seashell&amp;gt;'+environment+'&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;' from execution_log "&amp;amp;_&lt;br /&gt;
		    "where testsuiterunid=" &amp;amp; id &amp;amp; " or id=" &amp;amp; id&lt;br /&gt;
&lt;br /&gt;
I am getting the reponse as like below&lt;br /&gt;
&lt;br /&gt;
select '' from build_version where testsuit= or id=union select '' from execution_log where testsui= or id=union select '' from execution_log where tests= or id=&lt;br /&gt;
&lt;br /&gt;
So could you please help me on this...&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/aspfaq/400319/400319/unable-to-retrieve-the-data-with-html-view/</guid>
      <pubDate>Fri, 25 Sep 2009 11:23:49 -0700</pubDate>
      <category>Active Server Pages</category>
    </item>
  </channel>
</rss>
