ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Set values from database when embedding Flash (SWF) file using EMBED in ASP.Net<p>This Way:</p> <pre class="brush: csharp">//set the property with your data protected string IpAddress = &#34;198.169.11.10&#34;; protected void Page_Load(object sender, EventArgs e) { } </pre> <p>HTML:</p> <pre class="brush: csharp">&lt;form id=&#34;form1&#34; runat=&#34;server&#34;&gt; &lt;div&gt; &lt;object id=&#34;VACtrl2&#34; width=&#34;800&#34; height=&#34;600&#34; classid=&#34;CLSID:70EDCF63-CA7E-4812-8528-DA1EA2FD53B6&#34; codebase=&#34;\VitaminCtrl_4.0.0.8.cab#version=3,0,0,12&#34;&gt; &lt;param id=&#34;Param1&#34; name=&#34;ClickEventHandler&#34; value=&#34;1&#34; runat=&#34;server&#34; /&gt; &lt;param id=&#34;Param2&#34; name=&#34;UserName&#34; value=&#34;root&#34; runat=&#34;server&#34; /&gt; &lt;param id=&#34;Param3&#34; name=&#34;Password&#34; value=&#39;&lt;%=this.IpAddress%&gt;&#39; /&gt; &lt;param id=&#34;Param4&#34; name=&#34;RemoteIPAddr&#34; value=&#34;&#34; runat=&#34;server&#34; /&gt; &lt;param id=&#34;Param5&#34; name=&#34;HttpPort&#34; value=&#34;80&#34; runat=&#34;server&#34; /&gt; &lt;param id=&#34;Param6&#34; name=&#34;DisplayErrorMsg&#34; value=&#34;false&#34; runat=&#34;server&#34; /&gt; &lt;/object&gt; &lt;/div&gt; &lt;/form&gt;</pre> <p>Thank You.</p>https://www.aspforums.net:443/Threads/146001/Set-values-from-database-when-embedding-Flash-SWF-file-using-EMBED-in-ASPNet/https://www.aspforums.net:443/Threads/146001/Set-values-from-database-when-embedding-Flash-SWF-file-using-EMBED-in-ASPNet/Tue, 28 Jan 2014 02:40:27 GMTSet values from database when embedding Flash (SWF) file using EMBED in ASP.Net<p>Make use of Property value as i have used and set the property value by this value</p> <pre class="brush: csharp">dataSet1.Tables[0].Rows[0][0].ToString();</pre> <p>Thank You.</p>https://www.aspforums.net:443/Threads/146001/Set-values-from-database-when-embedding-Flash-SWF-file-using-EMBED-in-ASPNet/https://www.aspforums.net:443/Threads/146001/Set-values-from-database-when-embedding-Flash-SWF-file-using-EMBED-in-ASPNet/Tue, 28 Jan 2014 22:04:41 GMTSet values from database when embedding Flash (SWF) file using EMBED in ASP.Net<p>@Azim</p> <p>Thankyou for the help sir.</p> <p>Below code is working fine:</p> <pre class="brush: csharp">private void CCTV() { int id = Convert.ToInt32(Request.QueryString[&#34;cameraid&#34;].ToString()); string query = &#34;SELECT IPAddress FROM CCTVTable where Id=&#39;&#34; + id + &#34;&#39;&#34;; DataSet dataSet1 = DataManager.DatabaseManager.GetOrCreateConnection(DataManager.DatabaseManager.ConnectionType.MySQL).GetData(query); Param3.Attributes[&#34;value&#34;] = dataSet1.Tables[0].Rows[0][0].ToString(); }</pre> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/146001/Set-values-from-database-when-embedding-Flash-SWF-file-using-EMBED-in-ASPNet/https://www.aspforums.net:443/Threads/146001/Set-values-from-database-when-embedding-Flash-SWF-file-using-EMBED-in-ASPNet/Tue, 28 Jan 2014 22:52:03 GMT