<?xml version="1.0" encoding="utf-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title>DaniWeb IT Discussion Community - ASP</title>
		<link>http://www.daniweb.com/forums/</link>
		<description><![CDATA[Our ASP forum is the place for Q&A-style discussions related to this legacy version of Microsoft's development framework.  Note we have a separate ASP.NET forum that might be more appropriate. There is an MS SQL forum within the Databases sub-category to use in tandem to ASP.]]></description>
		<language>en-US</language>
		<lastBuildDate>Tue, 08 Dec 2009 20:34:13 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.daniweb.com/alphaimages/misc/rss.jpg</url>
			<title>DaniWeb IT Discussion Community - ASP</title>
			<link>http://www.daniweb.com/forums/</link>
		</image>
		<item>
			<title>Calendar</title>
			<link>http://www.daniweb.com/forums/thread244192.html</link>
			<pubDate>Sun, 06 Dec 2009 21:57:30 GMT</pubDate>
			<description><![CDATA[In one of the downloaded free webtemplates I have this calendar. The problem is that it is static, outdated calendar. How can I modify this code to make it live, current, and user changeable to different months and years? Thank you! 
 
  <div class="codeblock"> <div class="spaced"> <div...]]></description>
			<content:encoded><![CDATA[<div>In one of the downloaded free webtemplates I have this calendar. The problem is that it is static, outdated calendar. How can I modify this code to make it <span style="color:Green">live</span>, <span style="color:green">current</span>, and <span style="color:green">user changeable</span> to different months and years? Thank you!<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;h2&gt;Calendar&lt;/h2&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;div id=&quot;calendar_wrap&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;table summary=&quot;Calendar&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;caption&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; October 2009<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/caption&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;thead&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th abbr=&quot;Monday&quot; scope=&quot;col&quot; title=&quot;Monday&quot;&gt;M&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th abbr=&quot;Tuesday&quot; scope=&quot;col&quot; title=&quot;Tuesday&quot;&gt;T&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th abbr=&quot;Wednesday&quot; scope=&quot;col&quot; title=&quot;Wednesday&quot;&gt;W&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th abbr=&quot;Thursday&quot; scope=&quot;col&quot; title=&quot;Thursday&quot;&gt;T&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th abbr=&quot;Friday&quot; scope=&quot;col&quot; title=&quot;Friday&quot;&gt;F&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th abbr=&quot;Saturday&quot; scope=&quot;col&quot; title=&quot;Saturday&quot;&gt;S&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th abbr=&quot;Sunday&quot; scope=&quot;col&quot; title=&quot;Sunday&quot;&gt;S&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/thead&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tfoot&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td abbr=&quot;September&quot; colspan=&quot;3&quot; id=&quot;prev&quot;&gt;&lt;a href=&quot;#&quot; title=&quot;View posts for September 2009&quot;&gt;&amp;laquo; Sep&lt;/a&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;pad&quot;&gt;&amp;nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=&quot;3&quot; id=&quot;next&quot;&gt;&amp;nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tfoot&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tbody&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;1&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;2&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;3&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td id=&quot;today&quot;&gt;4&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;5&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;6&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;7&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;8&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;9&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;10&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;11&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;12&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;13&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;14&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;15&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;16&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;17&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;18&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;19&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;20&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;21&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;22&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;23&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;24&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;25&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;26&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;27&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;28&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;29&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;30&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;31&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td class=&quot;pad&quot; colspan=&quot;4&quot;&gt;&amp;nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tbody&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/div&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/li&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>leokuz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread244192.html</guid>
		</item>
		<item>
			<title>How to display xml file content into html page</title>
			<link>http://www.daniweb.com/forums/thread243680.html</link>
			<pubDate>Fri, 04 Dec 2009 14:05:06 GMT</pubDate>
			<description><![CDATA[Hi All, 
 
I have xml file contains dtd decalartion and data with align, bullat etc. how to show xml file content into html page. 
 
I used as 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>Hi All,<br />
<br />
I have xml file contains dtd decalartion and data with align, bullat etc. how to show xml file content into html page.<br />
<br />
I used as<br />
<br />
 <pre style="margin:20px; line-height:13px"> Set objXml = Server.CreateObject(&quot;Microsoft.XMLDOM&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objXml.async = False<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; objXml.load(&quot;D:\&quot; &amp; thing &amp; &quot;.xml&quot;) <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strHTMLconversionTest = &quot;&lt;HTML&gt;&quot; &amp; &quot;&lt;HEAD&gt;&quot; &amp; &quot;&lt;BODY&gt;&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For i = 0 to objXml.documentElement.childNodes.length-1&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If objXml.documentElement.childNodes(i).hasChildNodes() Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For j = 0 to objXml.documentElement.childNodes(i).childNodes.length-1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  IF LCASE(objXml.documentElement.childNodes(i).childNodes(j).nodeName) = &quot;p&quot; Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strHTMLconversionTest = strHTMLconversionTest &amp; &quot;&lt;p&gt;&quot; &amp; objXml.documentElement.childNodes(i).childNodes(j).text &amp; &quot;&lt;/p&gt;&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; strHTMLconversionTest = strHTMLconversionTest &amp; &quot;&lt;p&gt;&quot; &amp; objXml.documentElement.childNodes(i).childNodes(j).text &amp; &quot;&lt;/p&gt;&quot;&nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  End IF and closing tag</pre><br />
Please help me  how to bind xml conent into html format.<br />
<br />
thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Renukavani</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243680.html</guid>
		</item>
		<item>
			<title>asp debugging program</title>
			<link>http://www.daniweb.com/forums/thread243019.html</link>
			<pubDate>Wed, 02 Dec 2009 12:21:25 GMT</pubDate>
			<description>Hello, 
 
Whats the latest and efficient debuggin program for asp files? like interdev but thats old 
Thxs in advance</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
Whats the latest and efficient debuggin program for asp files? like interdev but thats old<br />
Thxs in advance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>gsc1ugs</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread243019.html</guid>
		</item>
		<item>
			<title>How to IIS error diagnose</title>
			<link>http://www.daniweb.com/forums/thread242760.html</link>
			<pubDate>Tue, 01 Dec 2009 13:21:56 GMT</pubDate>
			<description>Hello, 
 
Lately because of a hotfix an application running on IIS server showed fatal errors and was disabled by IIS. I would like to do the diagnose of the problem. 
 
Do you know a site where can I get some useful how-to start or hints about the Microsoft IIS Diagnostics Toolkit. 
 
Server...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
Lately because of a hotfix an application running on IIS server showed fatal errors and was disabled by IIS. I would like to do the diagnose of the problem.<br />
<br />
Do you know a site where can I get some useful how-to start or hints about the Microsoft IIS Diagnostics Toolkit.<br />
<br />
Server Windows 2003 sp2 standalone, IIS6, updates till october.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Seten</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread242760.html</guid>
		</item>
		<item>
			<title>asp iis7 500 error</title>
			<link>http://www.daniweb.com/forums/thread241509.html</link>
			<pubDate>Thu, 26 Nov 2009 08:22:27 GMT</pubDate>
			<description><![CDATA[asp iis7 500 error,i do't know ,How's going on ah]]></description>
			<content:encoded><![CDATA[<div>asp iis7 500 error,i do't know ,How's going on ah</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>yonker</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread241509.html</guid>
		</item>
		<item>
			<title>SQL Update does not work?</title>
			<link>http://www.daniweb.com/forums/thread240753.html</link>
			<pubDate>Mon, 23 Nov 2009 17:20:48 GMT</pubDate>
			<description><![CDATA[Below is an extract from my code.. 
 
1) insert code works fine, then.. 
2) retrieves inserted record ID 
3) then it SHOULD update the status of the performance with "booked" 
 
But it doesnt seem to update.. 
 
any ideas?]]></description>
			<content:encoded><![CDATA[<div>Below is an extract from my code..<br />
<br />
1) insert code works fine, then..<br />
2) retrieves inserted record ID<br />
3) then it SHOULD update the status of the performance with &quot;booked&quot;<br />
<br />
But it doesnt seem to update..<br />
<br />
any ideas?<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
<br />
sql=&quot;INSERT INTO bookings (performanceID, customerID, bookingDate)&quot;<br />
sql=sql &amp; &quot; VALUES &quot;<br />
sql=sql &amp; &quot;('&quot; &amp; Request.Form(&quot;performanceID&quot;) &amp; &quot;',&quot;<br />
sql=sql &amp; &quot;'&quot; &amp; Request.Form(&quot;customerID&quot;) &amp; &quot;',&quot;<br />
sql=sql &amp; &quot;'&quot; &amp; Request.Form(&quot;bookingDate&quot;) &amp; &quot;')&quot;<br />
<br />
'on error resume next<br />
conn.Execute sql,recaffected <br />
<br />
'debug the sql statement<br />
response.write sql<br />
<br />
'create a new recordset to hold the new data, as we need to run a seperate query to find the bookingID<br />
<br />
set rs2 = Server.CreateObject(&quot;ADODB.recordset&quot;)<br />
sql2 = &quot;SELECT @@Identity&quot;<br />
set rs2 = conn.execute(sql2)<br />
bookingID = &quot;Your Booking Number is: &quot; &amp; rs2(0)<br />
response.write rs2(0)<br />
<br />
sql3=sql3 = &quot;UPDATE performances SET Status=booked WHERE performanceID='&quot; &amp; performanceID &amp;&quot;'&quot;<br />
'on error resume next<br />
conn.Execute sql3,recaffected <br />
<br />
%&gt;</pre><br />
Hope you can help me with my syntax..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>centurion 5</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread240753.html</guid>
		</item>
		<item>
			<title>displaying records horizontally</title>
			<link>http://www.daniweb.com/forums/thread240471.html</link>
			<pubDate>Sun, 22 Nov 2009 16:34:26 GMT</pubDate>
			<description><![CDATA[Hi, 
  
I am building a cinema booking system in ASP/VbScript with MS Access. 
  
I would like to display the records from the recordset in form of:  
  
  
  
[-----STAGE-----]]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
 <br />
I am building a cinema booking system in ASP/VbScript with MS Access.<br />
 <br />
I would like to display the records from the recordset in form of: <br />
 <br />
 <br />
 <br />
[-----STAGE-----]<br />
  <br />
 <br />
[B] [x] [x] [x] [x]<br />
 <br />
[x] [x] [B] [x] [x]<br />
<br />
 <br />
[x] [B] [x] [x] [x]<br />
 <br />
[x] [x] [x] [x] [x]<br />
<br />
 <br />
[x] [x] [x] [x] [x]<br />
 <br />
[x] [x] [x] [x] [x]<br />
 <br />
 <br />
 <br />
When the query is run, each record is assigned to each “[x]” to the page. But if the record does not exist them I want “[B]” to be shown. (B – Booked)<br />
 <br />
 <br />
 <br />
Currently my page has a query string value taken from the previous page, and then the SQL code is run which generates the performance times. Each URL record has a seated assigned to it hence why I want to records to show up like the example above.  <br />
 <br />
 <br />
 <br />
Hope you can help.<br />
 <br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>centurion 5</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread240471.html</guid>
		</item>
		<item>
			<title>ASP.NET partially Running in IIS7</title>
			<link>http://www.daniweb.com/forums/thread240156.html</link>
			<pubDate>Sat, 21 Nov 2009 04:44:39 GMT</pubDate>
			<description>First I apologize to the moderator, I am not sure if this is more than a WINDOWS 7 topic or IIS or a ASP.NET topic. 
 
MY SETUP: WINDOWS 7 ULTIMATE + IIS 7 + WEB PLATFORM INSTALLER 
+ XAMPP 
 
MY IIS7 : RUNS in PORT8080 
MY APACHE RUNS in PORT8070 
 
I have VS2005 + MSSQLSERVER2005 + ASP.NET MVC...</description>
			<content:encoded><![CDATA[<div>First I apologize to the moderator, I am not sure if this is more than a WINDOWS 7 topic or IIS or a ASP.NET topic.<br />
<br />
MY SETUP: WINDOWS 7 ULTIMATE + IIS 7 + WEB PLATFORM INSTALLER<br />
+ XAMPP<br />
<br />
MY IIS7 : RUNS in PORT8080<br />
MY APACHE RUNS in PORT8070<br />
<br />
I have VS2005 + MSSQLSERVER2005 + ASP.NET MVC 1.0 + .NET FRAMEWORKS SDK v2.0<br />
<br />
ON VS2005 I have compatibility issues when I search online still and downloaded the SOFTWARE still the problem persists.<br />
<br />
The bottomline, I want my APP work, I saw the login page but when I logged I get ERROR 500.<br />
<br />
Thank you for the responses!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>php_noob</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread240156.html</guid>
		</item>
		<item>
			<title>ASP site for newbie</title>
			<link>http://www.daniweb.com/forums/thread240140.html</link>
			<pubDate>Sat, 21 Nov 2009 02:25:51 GMT</pubDate>
			<description>Just got the ASP download for websites.  Have no experience but would like to create a website on a spare drive on a desktop only to be accessible when the machine is on and only for colleagues.  This is just for experience and testing.  Looking for tutorials and best advice</description>
			<content:encoded><![CDATA[<div>Just got the ASP download for websites.  Have no experience but would like to create a website on a spare drive on a desktop only to be accessible when the machine is on and only for colleagues.  This is just for experience and testing.  Looking for tutorials and best advice</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>mnewsome</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread240140.html</guid>
		</item>
		<item>
			<title>asp upload image</title>
			<link>http://www.daniweb.com/forums/thread239493.html</link>
			<pubDate>Wed, 18 Nov 2009 16:13:09 GMT</pubDate>
			<description>please can someone send me demo or  tutorial of how to upload images and save it in ms access database without downloading driver thanx</description>
			<content:encoded><![CDATA[<div>please can someone send me demo or  tutorial of how to upload images and save it in ms access database without downloading driver thanx</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>rudz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239493.html</guid>
		</item>
		<item>
			<title>Dynamically populate dropdown dependent on another dropdown using database</title>
			<link>http://www.daniweb.com/forums/thread239120.html</link>
			<pubDate>Tue, 17 Nov 2009 06:02:31 GMT</pubDate>
			<description>Hi, I have 2 dropdownlists on a page. (DDL1 and DDL2). The DDL1 is populated by values from the database using a table1. DDL2 is dependent on DDL1. As soon as a value is selected in DDL1 I need to populate values in DDL2, though using S table2  which is also available on the page. I need to know...</description>
			<content:encoded><![CDATA[<div>Hi, I have 2 dropdownlists on a page. (DDL1 and DDL2). The DDL1 is populated by values from the database using a table1. DDL2 is dependent on DDL1. As soon as a value is selected in DDL1 I need to populate values in DDL2, though using S table2  which is also available on the page. I need to know how I can populate DDL2 only after a value is selected in DDL1. This might sound as a redundant question though I never found a post that will help me achieve this using database(sqlserver).<br />
<br />
I need help in asp<br />
<br />
Thanks for your help in advance.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>manpower</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread239120.html</guid>
		</item>
		<item>
			<title>ASP Connection String</title>
			<link>http://www.daniweb.com/forums/thread238186.html</link>
			<pubDate>Fri, 13 Nov 2009 04:00:04 GMT</pubDate>
			<description><![CDATA[my connection string goes like this... 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code Tags" target="_blank">Help with Code Tags</a>...]]></description>
			<content:encoded><![CDATA[<div>my connection string goes like this...<br />
 <pre style="margin:20px; line-height:13px">Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=MyDB;Data Source=mysource</pre><br />
I am using windows authentication, iis 7 and Classic ASP to to connect to SQL express 2008.<br />
Using UDL i can connect to my SQL.<br />
I can also connect to my SQLExpress when i am running my Database management studio.<br />
<br />
my problem is that i cannot connect to my datasource and response &quot;Cannot open database &quot;mysource&quot; requested by the login. The login failed.&quot; upon connecting via asp pages.<br />
<br />
I have tried setting my IIS7 to use windows authentication but the problem is that i don't want to go trhough the usual login page that prompts and created my own login pages that is connected to my AD.<br />
<br />
Can anyone help me?<br />
<br />
Regards.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Cruize_Invades</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread238186.html</guid>
		</item>
		<item>
			<title>Help with script asp</title>
			<link>http://www.daniweb.com/forums/thread236733.html</link>
			<pubDate>Sat, 07 Nov 2009 08:47:05 GMT</pubDate>
			<description>I have the following script from a forum that collected  data from a form and inserted in the. Mdb  
These are displayed through a file that reads the database.  
At this time the display is text, URLs are not active.  
The script is not so do not really know what to do.  
I need that URLs appear...</description>
			<content:encoded><![CDATA[<div>I have the following script from a forum that collected  data from a form and inserted in the. Mdb <br />
These are displayed through a file that reads the database. <br />
At this time the display is text, URLs are not active. <br />
The script is not so do not really know what to do. <br />
I need that URLs appear as a link at this time does not happen.<br />
Can you help me?<br />
&lt;%<br />
IdMensaje = Request.QueryString(&quot;IdMensaje&quot;)<br />
busca = Trim(Request.QueryString(&quot;busca&quot;))<br />
Set oConn = Server.CreateObject (&quot;ADODB.Connection&quot;)<br />
Set RS = Server.CreateObject (&quot;ADODB.RecordSet&quot;)<br />
oConn.Open &quot;DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=&quot;&amp;Server.MapPath(&quot;.private//usuarios.mdb&quot;)<br />
sql = &quot;SELECT * FROM discusion WHERE IdMensaje=&quot;&amp;IdMensaje&amp;&quot;&quot;<br />
Rs.Open sql, oConn, 1, 1<br />
mensaje = RS(&quot;mensaje&quot;)<br />
%&gt;<br />
&lt;img src=&quot;anadir.gif&quot; width=&quot;16&quot; height=&quot;16&quot;&gt; &lt;A HREF=&quot;contestar.asp?idmensaje=&lt;%=IdMensaje%&gt;&quot;&gt;&lt;B&gt;Contestar <br />
este mensaje&lt;/B&gt;&lt;/A&gt;&lt;BR&gt;<br />
&lt;BR&gt;<br />
&lt;%'=== Muestro el mensaje padre. La pregunta inicial ======<br />
Response.Write &quot;&lt;B&gt;Nombre: &lt;/B&gt;&quot;&amp;RS(&quot;name&quot;)&amp;&quot;&lt;BR&gt;&quot;<br />
Response.Write &quot;&lt;B&gt;Email: &lt;/B&gt;&quot;&amp;RS(&quot;mail&quot;)&amp;&quot;&lt;BR&gt;&quot;<br />
Response.Write &quot;&lt;B&gt;Título del mensaje: &lt;/B&gt;&quot;&amp;RS(&quot;Title&quot;)&amp;&quot;&lt;BR&gt;&quot;<br />
Response.Write &quot;&lt;B&gt;Mensaje: &lt;/B&gt;&lt;BR&gt;&lt;P&gt;&lt;I&gt;&quot;&amp; AcomodarTXT(mensaje)&amp;&quot;&lt;/I&gt;&lt;/P&gt;&quot;<br />
Response.Write &quot;&lt;HR WIDTH=&quot;&quot;80%&quot;&quot;&gt;&quot;<br />
'===== Fin pregunta inicial ===== Set RS2 = Server.CreateObject (&quot;ADODB.RecordSet&quot;)<br />
sql2 = &quot;SELECT * FROM discusion WHERE IdCabeza=&quot;&amp;IdMensaje &amp;&quot; ORDER BY fecha&quot;<br />
RS2.Open sql2, oConn, 1, 1<br />
'===== Respuestas a la pregunta inicial<br />
Do While not RS2.EOF<br />
mensaje2 = RS2(&quot;mensaje&quot;)<br />
Response.Write &quot;&lt;BR&gt;&lt;B&gt;Nombre: &lt;/B&gt;&quot;&amp;RS2(&quot;name&quot;)&amp;&quot;&lt;BR&gt;&quot;<br />
Response.Write &quot;&lt;B&gt;Email: &lt;/B&gt;&quot;&amp;RS2(&quot;mail&quot;)&amp;&quot;&lt;BR&gt;&quot;<br />
Response.Write &quot;&lt;B&gt;Título del mensaje: &lt;/B&gt;&quot;&amp;RS2(&quot;title&quot;)&amp;&quot;&lt;BR&gt;&quot;<br />
Response.Write &quot;&lt;B&gt;Mensaje: &lt;/B&gt;&lt;BR&gt;&quot;%&gt;&lt;P&gt;&lt;I&gt;&lt;%= AcomodarTXT(mensaje2)%&gt;&lt;/I&gt;&lt;/P&gt;&lt;BR&gt;<br />
&lt;%<br />
Response.Write &quot;&lt;HR WIDTH=&quot;&quot;80%&quot;&quot;&gt;&quot;<br />
RS2.MoveNext<br />
Loop<br />
'===== Fin de respuestas ======<br />
RS2.Close<br />
Set RS2 = nothing<br />
RS.Close<br />
oConn.Close<br />
Set RS = nothing<br />
Set oConn = nothing<br />
<br />
Function AcomodarTXT(txt)<br />
txt = Replace (txt, &quot;&lt;&quot;, &quot;&amp;lt;&quot;)<br />
txt = Replace (txt, &quot;&gt;&quot;, &quot;&amp;gt;&quot;)<br />
txt = Replace (txt, vbCrLf, &quot;&lt;BR&gt;&quot;)<br />
txt = Replace (txt, &quot;''&quot;, &quot;'&quot;)<br />
acomodarTXT = txt<br />
End function<br />
%&gt;</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Jhon100</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread236733.html</guid>
		</item>
		<item>
			<title>Active Directory- extracting groups</title>
			<link>http://www.daniweb.com/forums/thread235887.html</link>
			<pubDate>Wed, 04 Nov 2009 08:13:17 GMT</pubDate>
			<description><![CDATA[Hello! 
 
I am currently doing some authentication in Active Directory. 
Our AD is running in Windows 2008 Server and I manage to log-in based in our AD. However I also want to get the group where the user belongs. but I don't know how. Can anyone help me? 
 
here is the authentication in AD I...]]></description>
			<content:encoded><![CDATA[<div>Hello!<br />
<br />
I am currently doing some authentication in Active Directory.<br />
Our AD is running in Windows 2008 Server and I manage to log-in based in our AD. However I also want to get the group where the user belongs. but I don't know how. Can anyone help me?<br />
<br />
here is the authentication in AD I copied...<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@ Language=&quot;VBScript&quot; %&gt;<br />
&lt;% <br />
<br />
Option Explicit<br />
Response.Buffer = True&nbsp; <br />
<br />
'// 1. Form Validation<br />
Dim Submit, UserName, Password, Domain, Result, Message<br />
Submit = &quot;Authenticate&quot;<br />
<br />
'Assume Failure<br />
Application(&quot;Error&quot;)= true <br />
<br />
If Submit = &quot;Authenticate&quot; Then<br />
&nbsp; &nbsp;  response.write(&quot;autenthication &lt;br&gt;&quot;)<br />
&nbsp; &nbsp; 'Get the input from your HTML form<br />
&nbsp; &nbsp; UserName = Request.Form(&quot;UserName&quot;)<br />
&nbsp; &nbsp; Password = Request.Form(&quot;Password&quot;)<br />
&nbsp; &nbsp; Domain = Application(&quot;Domain&quot;)<br />
&nbsp; <br />
&nbsp; Session(&quot;usern&quot;) = UserName<br />
&nbsp; &nbsp; 'Call the AuthenticateUser() function to do the verification process<br />
&nbsp; &nbsp; Result = AuthenticateUser(UserName, Password, Domain)<br />
<br />
&nbsp; &nbsp; If Result Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'If user exist, then redirect to success page<br />
&nbsp; &nbsp; &nbsp; &nbsp;  'login success<br />
&nbsp; &nbsp; &nbsp; &nbsp; Application(&quot;Error&quot;)= false<br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect (&quot;success.asp&quot;)<br />
&nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'If user don't exist, redirect to error page<br />
&nbsp; &nbsp; &nbsp; &nbsp; 'login failed<br />
&nbsp; &nbsp; &nbsp; &nbsp; Application(&quot;Error&quot;)= true <br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Redirect (&quot;../&quot;)<br />
&nbsp; &nbsp; End If<br />
End If<br />
<br />
'// 2. Authenticate Function<br />
Function AuthenticateUser(UserName, Password, Domain)<br />
&nbsp; &nbsp; Dim strUser, strPassword, strQuery, oConn, cmd, oRS<br />
<br />
&nbsp; &nbsp; 'Assume Failure<br />
&nbsp; &nbsp; AuthenticateUser = false<br />
<br />
&nbsp; &nbsp; strQuery = &quot;SELECT cn FROM 'LDAP://&quot; &amp; Domain &amp; &quot;' WHERE objectClass='*'&quot;<br />
&nbsp; &nbsp; Set oConn = server.CreateObject(&quot;ADODB.Connection&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; oConn.Provider = &quot;ADsDSOOBJECT&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; oConn.Properties(&quot;User ID&quot;) = UserName<br />
&nbsp; &nbsp; &nbsp; &nbsp; oConn.Properties(&quot;Password&quot;) = Password<br />
&nbsp; &nbsp; &nbsp; &nbsp; oConn.Properties(&quot;Groups&quot;) = &quot;SALES&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; oConn.Properties(&quot;Encrypt Password&quot;) = true<br />
&nbsp; &nbsp; &nbsp; &nbsp; oConn.open &quot;ADProvider&quot;, strUser, strPassword<br />
&nbsp; &nbsp; Set cmd = server.CreateObject(&quot;ADODB.Command&quot;)<br />
&nbsp; &nbsp; Set cmd.ActiveConnection = oConn<br />
&nbsp; &nbsp; cmd.CommandText = strQuery<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; On Error Resume Next<br />
&nbsp; &nbsp; Set oRS = cmd.Execute<br />
<br />
&nbsp; &nbsp; If oRS.bof OR oRS.eof Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; AuthenticateUser = False<br />
&nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; AuthenticateUser = True<br />
&nbsp; &nbsp; End if<br />
<br />
&nbsp; &nbsp; Set oRS = Nothing<br />
&nbsp; &nbsp; Set oConn = nothing<br />
End Function<br />
'############### CHECKER #########<br />
<br />
response.write(myString)<br />
<br />
<br />
%&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Cruize_Invades</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235887.html</guid>
		</item>
		<item>
			<title>Need some help</title>
			<link>http://www.daniweb.com/forums/thread235435.html</link>
			<pubDate>Mon, 02 Nov 2009 18:47:50 GMT</pubDate>
			<description><![CDATA[Hi guys i have just installed windows 7 on ma pc but failed too configer the IIS "internet information service" in order to enable me run ma asp pages. is iis installed already or not?]]></description>
			<content:encoded><![CDATA[<div>Hi guys i have just installed windows 7 on ma pc but failed too configer the IIS &quot;internet information service&quot; in order to enable me run ma asp pages. is iis installed already or not?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Dryems</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread235435.html</guid>
		</item>
		<item>
			<title>Having trouble getting Grand Total with shopping cart web page</title>
			<link>http://www.daniweb.com/forums/thread233926.html</link>
			<pubDate>Tue, 27 Oct 2009 17:26:31 GMT</pubDate>
			<description>I am trying to get a grand total from a shopping cart page and am not sure how to do that. I have the total that loops through each section but I want to display the grand total from all of those sections at the bottom of the page. Can someone offer assistance on how to do this. Here is my code: 
...</description>
			<content:encoded><![CDATA[<div>I am trying to get a grand total from a shopping cart page and am not sure how to do that. I have the total that loops through each section but I want to display the grand total from all of those sections at the bottom of the page. Can someone offer assistance on how to do this. Here is my code:<br />
<br />
 <pre style="margin:20px; line-height:13px">dim totalPrice(20)&nbsp; //The total price on any given subform&nbsp; //CONFIG - change this to the maximum number of product types you ever expect to have.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dim iQtys(20, 50)&nbsp; //CONFIG - Change this to the maximum number of items you ever expect to have on one order form.<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dim emailTo, emailFrom, emailSubject<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; dim grandTotal(20)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if Request.Form(&quot;btnCalculate.x&quot;) &lt;&gt; 0 or Request.Form(&quot;btnCalculate.y&quot;) &lt;&gt; 0&nbsp; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; isPostback = 1 'cInt(Request.Form(&quot;btnCalculate&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for iCntr2 = 1 to Request.Form(&quot;NumForms&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for iCntr = 1 to Request.Form(&quot;NumElements&quot; &amp; iCntr2)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; iQtys(iCntr2, iCntr) = CInt(Request.Form(&quot;Qty&quot; &amp; iCntr2 &amp; &quot;_&quot; &amp; iCntr))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; totalPrice(iCntr2) = totalPrice(iCntr2) + (Ccur(Request.Form(&quot;UnitPrice&quot; &amp; iCntr2 &amp; &quot;_&quot; &amp; iCntr)) * CInt(Request.Form(&quot;Qty&quot; &amp; iCntr2 &amp; &quot;_&quot; &amp; iCntr)))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; next<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; next<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; end if<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; totalPrice(iCntr2) = totalPrice(iCntr2) + (Ccur(Request.Form(&quot;UnitPrice&quot; &amp; iCntr2 &amp; &quot;_&quot; &amp; iCntr)) * CInt(Request.Form(&quot;Qty&quot; &amp; iCntr2 &amp; &quot;_&quot; &amp; iCntr)))<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Response.write &quot;&lt;TR&gt;&lt;TD align=left colspan=&quot; &amp; oProdInstances.Fields.Count - 2 &amp; &quot;&gt;Grand Total:&nbsp; &quot; &amp; FormatCurrency(grandTotal(iForm), 2) &amp; &quot;&lt;/TD&gt;&quot;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>mldardy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread233926.html</guid>
		</item>
		<item>
			<title>SQL Injection Attacks</title>
			<link>http://www.daniweb.com/forums/thread232983.html</link>
			<pubDate>Sat, 24 Oct 2009 19:12:59 GMT</pubDate>
			<description>Hi Guys  
 
My hosting company confirmed that recently it appeared that somebody was trying to hack into my website. I was able to confirm the page used but not whether they actually got through - no data in the database was changed.  
 
I have never come across this before and my hosting company...</description>
			<content:encoded><![CDATA[<div>Hi Guys <br />
<br />
My hosting company confirmed that recently it appeared that somebody was trying to hack into my website. I was able to confirm the page used but not whether they actually got through - no data in the database was changed. <br />
<br />
I have never come across this before and my hosting company advised me to have a word with my developer to secure my code - which is myself. I have also read a few articles on how attackers do what they do, however I am still anxious and so I have a few questions: <br />
<br />
How might I better secure my code in asp to make it more difficult for attacks to occur through the login (username+password) fields? <br />
<br />
Is there a way to protect my asp code? (if this will help) <br />
<br />
Are there any added safeguards I can place upon my MSSQL database? <br />
<br />
Cheers! W:)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>whisper_101</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232983.html</guid>
		</item>
		<item>
			<title>ASP Error</title>
			<link>http://www.daniweb.com/forums/thread232773.html</link>
			<pubDate>Sat, 24 Oct 2009 02:27:04 GMT</pubDate>
			<description>I use ASP with IIS 6.0 but i face error, ASP page not displaying in Interent Explorer while HTML code is working properly. 
 
What problem this can be.</description>
			<content:encoded><![CDATA[<div>I use ASP with IIS 6.0 but i face error, ASP page not displaying in Interent Explorer while HTML code is working properly.<br />
<br />
What problem this can be.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>umairraja52</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232773.html</guid>
		</item>
		<item>
			<title>Possible SQL Injection attack</title>
			<link>http://www.daniweb.com/forums/thread232336.html</link>
			<pubDate>Thu, 22 Oct 2009 15:44:04 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I just came across a piece of script that has been put into my source code throughout the site...and not by me.  
 
Im not sure how they did it but im fearing this could get more serious and end up them hitting my db. Here is example(kind of) of the script im finding... 
  <div...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I just came across a piece of script that has been put into my source code throughout the site...and not by me. <br />
<br />
Im not sure how they did it but im fearing this could get more serious and end up them hitting my db. Here is example(kind of) of the script im finding...<br />
 <pre style="margin:20px; line-height:13px">&lt;script src=&quot;Http://www.domainname.com /a /a .php&gt;&lt;/script&gt;</pre><br />
HELP!!!!!!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>kegathor</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232336.html</guid>
		</item>
		<item>
			<title>ASP.Net on lan</title>
			<link>http://www.daniweb.com/forums/thread232126.html</link>
			<pubDate>Thu, 22 Oct 2009 01:49:34 GMT</pubDate>
			<description>Hi! 
   i have an asp.net project developed. Now i want to run it on lan. I mean i want to store all the asp files on the server and access it from the clients through browsers. what is the mechanism used for it 
                                                   vry vry vry urgent plz 
           ...</description>
			<content:encoded><![CDATA[<div>Hi!<br />
   i have an asp.net project developed. Now i want to run it on lan. I mean i want to store all the asp files on the server and access it from the clients through browsers. what is the mechanism used for it<br />
                                                   vry vry vry urgent plz<br />
                                 thnx in advnc</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>ejazmusavi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232126.html</guid>
		</item>
		<item>
			<title>dissapearing leading and trailing blanks in textbox</title>
			<link>http://www.daniweb.com/forums/thread232094.html</link>
			<pubDate>Wed, 21 Oct 2009 22:50:18 GMT</pubDate>
			<description><![CDATA[could be this is an HTML problem, but I'll take the help anywhere I can find it... 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a href="/forums/misc.php?do=explaincode&amp;TB_iframe=true&amp;height=400&amp;width=680" class="thickbox" title="Help with Code...]]></description>
			<content:encoded><![CDATA[<div>could be this is an HTML problem, but I'll take the help anywhere I can find it...<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
@ Page Language = &quot;VB&quot; aspcompat=true Explicit=&quot;True&quot; <br />
Dim src As String = &quot; bet &quot;<br />
%&gt;<br />
<br />
&lt;html&gt;<br />
&lt;head &gt;&lt;/head&gt;<br />
&lt;body &gt;<br />
<br />
&lt;form name=loc action=testsac.aspx method=get&gt;<br />
&lt;table class=s0 width=100% cellpadding=1 cellspacing=1 align=center border=1&gt;<br />
&nbsp; &lt;tr class=s0 align=center&gt;<br />
&nbsp; &nbsp; &lt;td&gt;<br />
&nbsp; &nbsp; Search For:<br />
&nbsp; &nbsp; &lt;input class=s0 size=50 name=src&nbsp; value=&lt;%=src%&gt;&gt;<br />
&nbsp; &nbsp; &lt;input class=s0 type=submit value=Search /&gt;<br />
&nbsp; &nbsp; &lt;td&gt;&lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&lt;/table&gt;<br />
&lt;/form&gt;<br />
<br />
&lt;/body&gt;<br />
&lt;/html&gt;</pre><br />
on the screen, &quot;bet&quot; is the search string, but I want &quot; bet &quot;<br />
any ideas?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>jimib</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232094.html</guid>
		</item>
		<item>
			<title>override automatic trim of request object</title>
			<link>http://www.daniweb.com/forums/thread232089.html</link>
			<pubDate>Wed, 21 Oct 2009 21:43:24 GMT</pubDate>
			<description><![CDATA[I have a text box that I use as part of a search function. 
Whenever the user searches for "bet" it finds the first string that includes "bet", as in "abet".  That's OK.  When the user searches for " bet " it finds the first instance of " bet ".  Still OK.  Now, I have a "Next" button that searces...]]></description>
			<content:encoded><![CDATA[<div>I have a text box that I use as part of a search function.<br />
Whenever the user searches for &quot;bet&quot; it finds the first string that includes &quot;bet&quot;, as in &quot;abet&quot;.  That's OK.  When the user searches for &quot; bet &quot; it finds the first instance of &quot; bet &quot;.  Still OK.  Now, I have a &quot;Next&quot; button that searces for the next instance.  It works, but the blanks in &quot; bet &quot; are gone and it finds &quot;abet&quot;.  What is happening is that the next button is an href that has as a parameter the contents of the search string &quot; bet &quot;, but when I request it, I get &quot;bet&quot;.  Does anyone have any idea how to override this behavior?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>jimib</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread232089.html</guid>
		</item>
		<item>
			<title>embedding objects in excel</title>
			<link>http://www.daniweb.com/forums/thread231952.html</link>
			<pubDate>Wed, 21 Oct 2009 12:02:29 GMT</pubDate>
			<description>Hi All, 
Can we embed a object in excel sheet using ASP code as we do manually. If so please provide me the code.</description>
			<content:encoded><![CDATA[<div>Hi All,<br />
Can we embed a object in excel sheet using ASP code as we do manually. If so please provide me the code.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>murali2joy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread231952.html</guid>
		</item>
		<item>
			<title>asp page</title>
			<link>http://www.daniweb.com/forums/thread231940.html</link>
			<pubDate>Wed, 21 Oct 2009 10:56:03 GMT</pubDate>
			<description><![CDATA[iam trying to make changes in asp pages of website there is a script wriitten on main page where 12 images are shown but it is very small. 
iwant that only 16 images are shown and i want it to be big.i am writing the script 
  <div class="codeblock"> <div class="spaced"> <div style="float:right;...]]></description>
			<content:encoded><![CDATA[<div>iam trying to make changes in asp pages of website there is a script wriitten on main page where 12 images are shown but it is very small.<br />
iwant that only 16 images are shown and i want it to be big.i am writing the script<br />
 <pre style="margin:20px; line-height:13px">&lt;td height=&quot;61&quot; align=&quot;center&quot; background=&quot;imgs/msecbg.jpg&quot;&gt;&lt;a href=&quot;&lt;%=link%&gt;&quot;&gt;&lt;img src=&quot;&lt;%=descpimg1 &amp; rs(&quot;shimg&quot;)%&gt;&quot; width=&quot;103&quot; height=&quot;47&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>above2sky</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread231940.html</guid>
		</item>
		<item>
			<title>Classic asp page not working in Firefox, works in IE</title>
			<link>http://www.daniweb.com/forums/thread231706.html</link>
			<pubDate>Tue, 20 Oct 2009 16:02:20 GMT</pubDate>
			<description>I have a .asp page that is a map of the U.S. When you click on a state it brings up a pop menu. This page works fine on IE but not on Firefox. On Firefox when I click on the state it opens up another tab of the .asp page. How do I get this page to work in Firefox 
 
I have included part of the code...</description>
			<content:encoded><![CDATA[<div>I have a .asp page that is a map of the U.S. When you click on a state it brings up a pop menu. This page works fine on IE but not on Firefox. On Firefox when I click on the state it opens up another tab of the .asp page. How do I get this page to work in Firefox<br />
<br />
I have included part of the code below<br />
<br />
Here is a link to the page<br />
<br />
<a rel="nofollow" class="t" href="http://allos.dkpierce.net/" target="_blank">http://allos.dkpierce.net/</a><br />
<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@LANGUAGE=&quot;VBSCRIPT&quot; CODEPAGE=&quot;65001&quot;%&gt;<br />
&lt;!--#include virtual=&quot;/includes/common/KT_common.asp&quot; --&gt;<br />
&lt;!--#include virtual=&quot;/includes/tfi/TFI.asp&quot; --&gt;<br />
&lt;!--#include virtual=&quot;/includes/tso/TSO.asp&quot; --&gt;<br />
&lt;!--#include virtual=&quot;/includes/nav/NAV.asp&quot; --&gt;<br />
&lt;HTML&gt;<br />
&lt;HEAD&gt;<br />
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=iso-8859-1&quot; /&gt;<br />
&lt;TITLE&gt;Folotyn™ (pralatrexate) State-Specific Reimbursement Information&lt;/TITLE&gt;<br />
<br />
&lt;META HTTP-EQUIV=&quot;Content-Type&quot; CONTENT=&quot;text/html; charset=iso-8859-1&quot;&gt;<br />
<br />
&lt;LINK HREF=&quot;/dkpweb/dk_style.css&quot; REL=&quot;stylesheet&quot; TYPE=&quot;text/css&quot;&gt;<br />
&lt;STYLE&gt;<br />
.style2 {<br />
&nbsp; &nbsp; font-size: 9<br />
}<br />
.style4 {font-size: xx-small}<br />
.style5 {<br />
&nbsp; &nbsp; font-size: 10px<br />
}<br />
&lt;/STYLE&gt;<br />
&lt;STYLE TYPE=&quot;text/css&quot;&gt;<br />
#contextMenu {position:absolute; background-color:#cfcfcf; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; border-style:solid; border-width:1px; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; border-color:#EFEFEF #505050 #505050 #EFEFEF; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; padding:3px 10px; font-size:10pt; font-family:Arial, Helvetica; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; line-height:150%; visibility:hidden}<br />
.menuItem {color:black}<br />
.menuItemOn {color:white}<br />
OL {list-style-position:inside; font-weight:bold; cursor:nw-resize}<br />
LI {font-weight:normal}<br />
&lt;/STYLE&gt;<br />
<br />
&lt;script type=&quot;text/javascript&quot;&gt;<br />
function showContextMenu() {<br />
&nbsp; &nbsp; contextMenu.setCapture()<br />
&nbsp; &nbsp; contextMenu.style.pixelTop = event.clientY + document.body.scrollTop<br />
&nbsp; &nbsp; contextMenu.style.pixelLeft = event.clientX + document.body.scrollLeft<br />
&nbsp; &nbsp; contextMenu.style.visibility = &quot;visible&quot;<br />
&nbsp; &nbsp; event.returnValue = false<br />
}<br />
<br />
function revert() {<br />
&nbsp; &nbsp; document.releaseCapture()<br />
&nbsp; &nbsp; hideMenu()<br />
}<br />
function hideMenu() {<br />
&nbsp; &nbsp; contextMenu.style.visibility = &quot;hidden&quot;<br />
}<br />
function handleClick() {<br />
&nbsp; &nbsp; var elem = window.event.srcElement<br />
&nbsp; &nbsp; if (elem.id.indexOf(&quot;menuItem&quot;) == 0) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; objChild = window.open( elem.LISTTYPE + '?state=' + menuState); <br />
&nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; revert()<br />
&nbsp; &nbsp; event.cancelBubble = true<br />
}<br />
function highlight() {<br />
&nbsp; &nbsp; var elem = event.srcElement<br />
&nbsp; &nbsp; if (elem.className == &quot;menuItem&quot;) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.className = &quot;menuItemOn&quot;<br />
&nbsp; &nbsp; }<br />
}<br />
function unhighlight() {<br />
&nbsp; &nbsp; var elem = event.srcElement<br />
&nbsp; &nbsp; if (elem.className == &quot;menuItemOn&quot;) {<br />
&nbsp; &nbsp; &nbsp; &nbsp; elem.className = &quot;menuItem&quot;<br />
&nbsp; &nbsp; }<br />
}<br />
&lt;/script&gt;<br />
&lt;/HEAD&gt;<br />
<br />
&lt;BODY LINK=&quot;#FF6633&quot; VLINK=&quot;#660099&quot; &gt;&nbsp; <br />
&lt;DIV ID=&quot;contextMenu&quot; onLoseCapture=&quot;hideMenu()&quot; onClick=&quot;handleClick()&quot;&nbsp; title=&quot;Please select from the following:&quot;<br />
onMouseOver=&quot;highlight()&quot; onMouseOut=&quot;unhighlight()&quot;&gt;<br />
&lt;SPAN ID=&quot;menuItem0&quot; CLASS=&quot;menuItem&quot; LISTTYPE=&quot;allosMedicare.aspx&quot;&gt;Please select from the following:&lt;/SPAN&gt;&lt;BR&gt;<br />
&lt;SPAN ID=&quot;menuItem1&quot; CLASS=&quot;menuItem&quot; LISTTYPE=&quot;allosMedicare.aspx&quot;&gt;Medicare&lt;/SPAN&gt;&lt;BR&gt;<br />
&lt;SPAN ID=&quot;menuItem2&quot; CLASS=&quot;menuItem&quot; LISTTYPE=&quot;allosMedicaid.aspx&quot;&gt;Medicaid&lt;/SPAN&gt;&lt;BR&gt;<br />
&lt;SPAN ID=&quot;menuItem3&quot; CLASS=&quot;menuItem&quot; LISTTYPE=&quot;mcoAllos.asp&quot;&gt;Commercial Payers&lt;/SPAN&gt;&lt;BR&gt;<br />
&lt;SPAN ID=&quot;menuItem4&quot; CLASS=&quot;menuItem&quot; LISTTYPE=&quot;allosContacts.aspx&quot;&gt;Contacts&lt;/SPAN&gt;&lt;BR&gt;<br />
&lt;/DIV&gt;<br />
<br />
&lt;TABLE cellpadding=&quot;5&quot; cellspacing=&quot;5&quot; class=&quot;KT_tngtable&quot;&gt;<br />
<br />
&nbsp; &lt;TR&gt;<br />
&nbsp; &nbsp; &lt;TD COLSPAN=&quot;2&quot;&gt;&lt;img src=&quot;images/allosMap.jpg&quot;&nbsp; border=&quot;0&quot; usemap=&quot;#ABMAC&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;map name=&quot;ABMAC&quot; id=&quot;usaMap&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;RECT&quot; coords=&quot;557,208,573,224&quot; href=&quot;&quot; onClick=&quot;menuState='RI';return showContextMenu('RI');&quot;&nbsp; target=&quot;_blank&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;320,151,319,179,316,216,366,218,349,195,356,178,375,161,335,149&quot; href=&quot;&quot; onClick=&quot;menuState='MN';return showContextMenu('MN');&quot;&nbsp;  target=&quot;_blank&quot;&nbsp;  &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;409,241,433,241,434,276,408,291&quot; href=&quot;&quot; onClick=&quot;menuState='IN';return showContextMenu('IN');&quot;&nbsp; target=&quot;_blank&quot;&nbsp; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;439,331,462,325,484,356,484,375,450,378&quot; href=&quot;&quot; onClick=&quot;menuState='GA';return showContextMenu('GA');&quot;&nbsp; target=&quot;_blank&quot;&nbsp; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;334,261,366,259,376,268,389,302,388,313,378,310,340,309,335,268&quot; href=&quot;&quot; onClick=&quot;menuState='MO';return showContextMenu('MO');&quot;&nbsp; target=&quot;_blank&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;406,332,411,381,445,375,438,327&quot; href=&quot;&quot; onClick=&quot;menuState='AL';return showContextMenu('AL');&quot;&nbsp; target=&quot;_blank&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;18,428,7,527,128,503,74,431&quot; href=&quot;&quot; onClick=&quot;menuState='AK';return showContextMenu('AK');&quot; target=&quot;_blank&quot;&nbsp; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;138,291,128,343,174,368,186,302&quot; href=&quot;&quot; onClick=&quot;menuState='AZ';return showContextMenu('AZ');&quot;&nbsp; target=&quot;_blank&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;341,314,344,359,375,357,387,317&quot; href=&quot;&quot; onClick=&quot;menuState='AR';return showContextMenu('AR');&quot;&nbsp; target=&quot;_blank&quot; &gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;area shape=&quot;POLY&quot; coords=&quot;200,247,191,295,258,304,263,256&quot; href=&quot;&quot; onClick=&quot;menuState='CO';return showContextMenu('CO');&quot;&nbsp; target=&quot;_blank&quot; &gt;<br />
..<br />
&lt;/map&gt;&lt;/TD&gt;<br />
&nbsp; &lt;/TR&gt;<br />
&lt;/TABLE&gt;<br />
<br />
&lt;/BODY&gt;<br />
&lt;/HTML&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>mldardy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread231706.html</guid>
		</item>
		<item>
			<title>ASP Error</title>
			<link>http://www.daniweb.com/forums/thread230605.html</link>
			<pubDate>Fri, 16 Oct 2009 05:24:46 GMT</pubDate>
			<description><![CDATA[Hi , I'm getting the below error when i'm trying to create a excel boject in my ASP page.  Please help me. 
 
Error Type: 
Server object, ASP 0178 (0x80070005) 
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.]]></description>
			<content:encoded><![CDATA[<div>Hi , I'm getting the below error when i'm trying to create a excel boject in my ASP page.  Please help me.<br />
<br />
Error Type:<br />
Server object, ASP 0178 (0x80070005)<br />
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>murali2joy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230605.html</guid>
		</item>
		<item>
			<title>ASP to ASP.NEt</title>
			<link>http://www.daniweb.com/forums/thread230328.html</link>
			<pubDate>Thu, 15 Oct 2009 09:03:43 GMT</pubDate>
			<description><![CDATA[Hi I've a web application in ASP. I'm planning to develope the future pages in ASP.Net. Is there any way to use the same old ASP pages (without converting them to .aspx) and built the future pages in ASP.net.]]></description>
			<content:encoded><![CDATA[<div>Hi I've a web application in ASP. I'm planning to develope the future pages in ASP.Net. Is there any way to use the same old ASP pages (without converting them to .aspx) and built the future pages in ASP.net.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>murali2joy</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230328.html</guid>
		</item>
		<item>
			<title>Put Record in a Textbox</title>
			<link>http://www.daniweb.com/forums/thread230311.html</link>
			<pubDate>Thu, 15 Oct 2009 07:39:19 GMT</pubDate>
			<description><![CDATA[Please help me, I have fields in my database with a name of address 
when i put it on a textbox it was chopped when it load to the textbox, 
For example my address was San Diego California 
When I put it to a textbox it will show only "San", How can i solved this?]]></description>
			<content:encoded><![CDATA[<div>Please help me, I have fields in my database with a name of address<br />
when i put it on a textbox it was chopped when it load to the textbox,<br />
For example my address was San Diego California<br />
When I put it to a textbox it will show only &quot;San&quot;, How can i solved this?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>leoimperial</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread230311.html</guid>
		</item>
		<item>
			<title>Social Networking Forum</title>
			<link>http://www.daniweb.com/forums/thread229865.html</link>
			<pubDate>Tue, 13 Oct 2009 15:32:29 GMT</pubDate>
			<description>I am working on a web applicatoin that is social networking forum for an institute.But i did not have any experience in asp.net environment.From where i will start this application.As if create a login in page from where a user will login and after login the next page will display from a user will...</description>
			<content:encoded><![CDATA[<div>I am working on a web applicatoin that is social networking forum for an institute.But i did not have any experience in asp.net environment.From where i will start this application.As if create a login in page from where a user will login and after login the next page will display from a user will use the features like we see on the orkut,add video,join community,testimonials,add applications etc.I want to use c# in it.Please guide me how i will move forward to complete this application.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>tanzeelaltaf</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229865.html</guid>
		</item>
		<item>
			<title>Return info from a database based on 2 fields</title>
			<link>http://www.daniweb.com/forums/thread229838.html</link>
			<pubDate>Tue, 13 Oct 2009 14:04:53 GMT</pubDate>
			<description>I have a site where i am returning listings from a database based on the page links and this works fine, i then try to get it so it returns a list that matches a criteria for two fields but this errors saying I have not supplied all the information,  
 
does any one know what the code should be any...</description>
			<content:encoded><![CDATA[<div>I have a site where i am returning listings from a database based on the page links and this works fine, i then try to get it so it returns a list that matches a criteria for two fields but this errors saying I have not supplied all the information, <br />
<br />
does any one know what the code should be any help would be great.<br />
<br />
Matthew</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Magic8Computing</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread229838.html</guid>
		</item>
		<item>
			<title>Insert statement not trapping Username</title>
			<link>http://www.daniweb.com/forums/thread228840.html</link>
			<pubDate>Fri, 09 Oct 2009 10:51:58 GMT</pubDate>
			<description><![CDATA[Hi, 
 
I have an insert statement in an asp page that works fine on one server. Basically the statement traps various details and username.  
 
I had to move the site to a new server and unfortunately its not trapping the username for me.  
 
  <div class="codeblock"> <div class="spaced"> <div...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I have an insert statement in an asp page that works fine on one server. Basically the statement traps various details and username. <br />
<br />
I had to move the site to a new server and unfortunately its not trapping the username for me. <br />
<br />
 <pre style="margin:20px; line-height:13px">strSQL=&quot;INSERT INTO TBLCART (USERNAME,<br />
VALUES ('&quot; &amp; Request.ServerVariables(&quot;LOGON_USER&quot;)&nbsp; &amp; &quot;',</pre><br />
Any ideas</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>kegathor</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread228840.html</guid>
		</item>
		<item>
			<title>Help (ASP)</title>
			<link>http://www.daniweb.com/forums/thread227339.html</link>
			<pubDate>Sat, 03 Oct 2009 01:47:51 GMT</pubDate>
			<description>I am ASP programmer and have a website in ASP. 
 
But my question is that can i use VB.net/C# with ASP without usinmg ASP.net. 
 
Is it possible? 
 
If it is possible then in which section i can write VB/C# code. 
 
Waiting for replies.</description>
			<content:encoded><![CDATA[<div>I am ASP programmer and have a website in ASP.<br />
<br />
But my question is that can i use VB.net/C# with ASP without usinmg ASP.net.<br />
<br />
Is it possible?<br />
<br />
If it is possible then in which section i can write VB/C# code.<br />
<br />
Waiting for replies.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>umairraja52</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227339.html</guid>
		</item>
		<item>
			<title>Asp upload BinaryRead error</title>
			<link>http://www.daniweb.com/forums/thread227290.html</link>
			<pubDate>Fri, 02 Oct 2009 19:49:15 GMT</pubDate>
			<description><![CDATA[Hi everyone, 
 
So I have a form that I'm running which has an option to upload a resume.  
 
The form itself is actually multi-page but it all sits inside 1 asp file. The way I manage that is to use a select function and case function and depending on the "page" it will display the appropriate...]]></description>
			<content:encoded><![CDATA[<div>Hi everyone,<br />
<br />
So I have a form that I'm running which has an option to upload a resume. <br />
<br />
The form itself is actually multi-page but it all sits inside 1 asp file. The way I manage that is to use a select function and case function and depending on the &quot;page&quot; it will display the appropriate form material.<br />
<br />
I have loaded in some asp code that I found online for uploading, and it works when it's stand-alone.<br />
<br />
However when I incorporate it into my form code, it gives me the error<br />
<br />
<div style="margin:20px; margin-top:5px; width: 100%;"> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  Request object error 'ASP 0206 : 80004005'<br />
<br />
Cannot call BinaryRead<br />
<br />
/members/Loader.asp, line 36<br />
<br />
Cannot call BinaryRead after using Request.Form collection.  <hr /> </td> </tr> </table> </div>My code is as such<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%@LANGUAGE=&quot;VBSCRIPT&quot;%&gt;<br />
&lt;% Option Explicit %&gt;<br />
&lt;!--#include virtual=&quot;/Connections/CTRI_Web.asp&quot; --&gt;<br />
&lt;!--#include file=&quot;Loader.asp&quot;--&gt;<br />
&lt;%<br />
&nbsp; &nbsp; &nbsp; &nbsp; Const NUMBER_OF_PAGES = 4<br />
&nbsp; &nbsp; &nbsp; &nbsp; Const DBOR = true<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim intPreviousPage<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim intCurrentPage<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim strItem<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim AbortMessage<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim AlertMsg<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim email<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim pw<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim pwconfirm<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim gonext<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim results<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim fitem<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim eMailResults<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim UploadAbortMessage<br />
&nbsp; &nbsp; &nbsp; &nbsp; Session(&quot;fileName&quot;) = &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Session(&quot;filePath&quot;) = &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Session(&quot;extension&quot;) = &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Session(&quot;eemail&quot;) = &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Application(&quot;pathToFile&quot;) = &quot;&quot;<br />
%&gt;<br />
&lt;% Function uHaul()<br />
&nbsp; &nbsp; &nbsp; &nbsp; Response.Buffer = True<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' load object<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim load<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Set load = new Loader<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' calling initialize method<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; load.initialize<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ' File binary data<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim fileData<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileData = load.getFileData(&quot;file&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' File name<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim fileName<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileName = LCase(load.getFileName(&quot;file&quot;))<br />
&nbsp; &nbsp; &nbsp; &nbsp; Session(&quot;fileName&quot;) = fileName<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' File path<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim filePath<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; filePath = load.getFilePath(&quot;file&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' File path complete<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim filePathComplete<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; filePathComplete = load.getFilePathComplete(&quot;file&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' File size<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim fileSize<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileSize = load.getFileSize(&quot;file&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' File size translated<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim fileSizeTranslated<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileSizeTranslated = load.getFileSizeTranslated(&quot;file&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' Content Type<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim contentType<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; contentType = load.getContentType(&quot;file&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' No. of Form elements<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim countElements<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; countElements = load.Count<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' Value of text input field &quot;name&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim nameInput<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nameInput = load.getValue(&quot;name&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' Path where file will be uploaded<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim pathToFile<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pathToFile = Server.mapPath(&quot;/Uploader/uploaded/&quot;) &amp; &quot;\&quot; &amp; Session(&quot;eemail&quot;) &amp; Session(&quot;fileName&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Application(&quot;pathToFile&quot;) = pathToFile<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' Uploading file data<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim fileUploaded<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fileUploaded = load.saveToFile (&quot;file&quot;, pathToFile)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; ' destroying load object<br />
&nbsp; &nbsp; &nbsp; &nbsp; Set load = Nothing<br />
<br />
End Function<br />
%&gt;</pre><br />
This bit of code sits right on top of everything else. <br />
<br />
So what exactly have I done wrong and how can I go about fixing it?<br />
<br />
Thanks for all of your advice and help.<br />
<br />
-LP<br />
<br />
PS. Ignore the session and application variables, it was part of a test that didn't go so well.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>LurkerPatrol</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227290.html</guid>
		</item>
		<item>
			<title>ASP Cookie Detection Alert Code Issues</title>
			<link>http://www.daniweb.com/forums/thread227275.html</link>
			<pubDate>Fri, 02 Oct 2009 17:26:56 GMT</pubDate>
			<description><![CDATA[I was running on a ASP, we now converted our servers to run on ASP.NET v2.5, and I am having a terrible time converting this ASP to .NET compatibility... 
 
Any assistance would be greatly appreciated!! 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px">...]]></description>
			<content:encoded><![CDATA[<div>I was running on a ASP, we now converted our servers to run on ASP.NET v2.5, and I am having a terrible time converting this ASP to .NET compatibility...<br />
<br />
Any assistance would be greatly appreciated!!<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
Dim scr, loc<br />
<br />
If Request.Querystring(&quot;Check&quot;) = &quot;&quot; Then<br />
&nbsp; &nbsp; scr = Request.ServerVariables(&quot;SCRIPT_NAME&quot;)<br />
&nbsp; &nbsp; loc = instrRev(scr,&quot;/&quot;)<br />
&nbsp; &nbsp; scr = mid(scr, loc+1, len(scr) - loc)<br />
&nbsp; &nbsp; response.cookies(&quot;enabled&quot;).value=&quot;1&quot;<br />
&nbsp; &nbsp; Response.Redirect(scr &amp; &quot;?Check=True&quot;)<br />
Else<br />
&nbsp; &nbsp; if request.cookies(&quot;enabled&quot;).value=&quot;1&quot; then<br />
&nbsp; &nbsp; &nbsp; &nbsp; response.write(&quot;&lt;div style=&quot;&quot;font-weight: bold;&quot;&quot;&gt;Cookies are enabled!&lt;/div&gt;&quot;)<br />
&nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; response.write(&quot;&lt;div style=&quot;&quot;color: red;&quot;&quot;&gt;Cookies are NOT enabled!&lt;/div&gt;&quot;)<br />
&nbsp; &nbsp; end if<br />
End If<br />
%&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>LoveLulu</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227275.html</guid>
		</item>
		<item>
			<title>Gridview Deleting before backing method runs?</title>
			<link>http://www.daniweb.com/forums/thread227042.html</link>
			<pubDate>Thu, 01 Oct 2009 15:56:54 GMT</pubDate>
			<description>Hi, 
 
I am working with the gridview in .net 3.5 and have run into something I can not explain. I am testing my delete methods when I realized that the row was actually being deleted before my event handler even finished processing. Am I dreaming or just missing something.  
 
I setup a base...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
<br />
I am working with the gridview in .net 3.5 and have run into something I can not explain. I am testing my delete methods when I realized that the row was actually being deleted before my event handler even finished processing. Am I dreaming or just missing something. <br />
<br />
I setup a base gridview with event handlers for select, insert, update, and delete. <br />
<br />
 <pre style="margin:20px; line-height:13px"> &lt;asp:GridView ID=&quot;TableGridView&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnRowEditing =&quot;TableGridView_RowEditing&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnRowCancelingEdit=&quot;TableGridView_RowCancelingEdit&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnRowUpdating=&quot;TableGridView_RowUpdating&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnRowDeleting=&quot;TableGridView_RowDeleting&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; OnPageIndexChanging=&quot;TableGridView_PageIndexChanging&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; runat=&quot;server&quot; AutoGenerateColumns=&quot;False&quot; CellPadding=&quot;4&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ForeColor=&quot;#333333&quot; GridLines=&quot;None&quot; AllowPaging=&quot;True&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AllowSorting=&quot;True&quot; HorizontalAlign=&quot;Center&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PagerSettings Mode=&quot;NumericFirstLast&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FirstPageImageUrl=&quot;~/Images/n_skip_first.gif&quot; FirstPageText=&quot;First&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LastPageImageUrl=&quot;~/Images/n_skip_last.gif&quot; LastPageText=&quot;Last&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; NextPageImageUrl=&quot;~/Images/n_skip_next.gif&quot; NextPageText=&quot;Next&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PreviousPageImageUrl=&quot;~/Images/n_skip_previous.gif&quot; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PreviousPageText=&quot;Previous&quot; PageButtonCount=&quot;5&quot; Position=&quot;TopAndBottom&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;RowStyle BackColor=&quot;#F7F6F3&quot; ForeColor=&quot;#333333&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;FooterStyle BackColor=&quot;#5D7B9D&quot; Font-Bold=&quot;True&quot; ForeColor=&quot;White&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;PagerStyle BackColor=&quot;#284775&quot; ForeColor=&quot;White&quot; HorizontalAlign=&quot;Center&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;SelectedRowStyle BackColor=&quot;#E2DED6&quot; Font-Bold=&quot;True&quot; ForeColor=&quot;#333333&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;HeaderStyle BackColor=&quot;#5D7B9D&quot; Font-Bold=&quot;True&quot; ForeColor=&quot;White&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;EditRowStyle BackColor=&quot;#999999&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;AlternatingRowStyle BackColor=&quot;White&quot; ForeColor=&quot;#284775&quot; /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/asp:GridView&gt;</pre><br />
I then dynamically load the grid with buttons and data using ITemplate.<br />
<br />
Here is my InstantiateIn Method.<br />
<br />
 <pre style="margin:20px; line-height:13px"> public void InstantiateIn(System.Web.UI.Control Container)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch (ItemType)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case ListItemType.Header:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Literal header_ltrl = new Literal();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header_ltrl.Text = &quot;&lt;b&gt;&quot; + FieldName + &quot;&lt;/b&gt;&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Container.Controls.Add(header_ltrl);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case ListItemType.Item:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch (ControlType)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &quot;Command&quot;:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ImageButton edit_button = new ImageButton();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; edit_button.ID = &quot;edit_button&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; edit_button.ImageUrl = &quot;~/images/edit.gif&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; edit_button.CommandName = &quot;Edit&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; edit_button.Click += new ImageClickEventHandler(edit_button_Click);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; edit_button.ToolTip = &quot;Edit&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Container.Controls.Add(edit_button);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ImageButton delete_button = new ImageButton();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delete_button.ID = &quot;delete_button&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delete_button.ImageUrl = &quot;~/images/delete.gif&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delete_button.CommandName = &quot;Delete&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delete_button.OnClientClick = &quot;return confirm('Confirm you want to delete the record?')&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; delete_button.ToolTip = &quot;Delete&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Container.Controls.Add(delete_button);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ImageButton insert_button = new ImageButton();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insert_button.ID = &quot;insert_button&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insert_button.ImageUrl = &quot;~/images/insert.bmp&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insert_button.CommandName = &quot;Edit&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insert_button.ToolTip = &quot;Insert&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; insert_button.Click += new ImageClickEventHandler(insert_button_Click);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Container.Controls.Add(insert_button);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; default:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Label field_lbl = new Label();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; field_lbl.ID = FieldName;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; field_lbl.Text = String.Empty;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; field_lbl.DataBinding += new EventHandler(OnDataBinding);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Container.Controls.Add(field_lbl);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case ListItemType.EditItem:<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (ControlType == &quot;Command&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ImageButton update_button = new ImageButton();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update_button.ID = &quot;update_button&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update_button.CommandName = &quot;Update&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update_button.ImageUrl = &quot;~/images/update.gif&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update_button.ToolTip = &quot;Update&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; update_button.OnClientClick =<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;return confirm('Confirm you want to update the record?')&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Container.Controls.Add(update_button);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Similarly, add a button for Cancel<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ImageButton cancel_button = new ImageButton();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cancel_button.ID = &quot;cancel_button&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cancel_button.CommandName = &quot;Cancel&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cancel_button.ImageUrl = &quot;~/images/cancel.gif&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cancel_button.ToolTip = &quot;Cancel&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cancel_button.OnClientClick =<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;return confirm('Confirm you want to cancel?')&quot;;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Container.Controls.Add(cancel_button);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // if other key and non key fields then bind textboxes with texts<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; TextBox field_txtbox = new TextBox();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; field_txtbox.ID = FieldName;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; field_txtbox.Text = String.Empty;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // if to update then bind the textboxes with coressponding field texts<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //otherwise for insert no need to bind it with text<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if ((int)new Page().Session&#91;&quot;InsertFlag&quot;&#93; == 0)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; field_txtbox.DataBinding += new EventHandler(OnDataBinding);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Container.Controls.Add(field_txtbox);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }</pre><br />
I have tested my event handler and it is working fine and deletes the row correctly and was just doing some final testing before moving onto another method when I noticed that if I break out of the app just before the event handler is fired the row has already been deleted.<br />
<br />
I had a feeling it was something to do with on page load I am re-building the template but I put a break there and still the row was deleted. It looks like once I hit ok on the confirm return the record is deleted. <br />
<br />
Does anyone have a better understanding of this control, am I doing something wrong or just not well informed.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>cgyrob</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread227042.html</guid>
		</item>
		<item>
			<title>creating  free ftp server</title>
			<link>http://www.daniweb.com/forums/thread226827.html</link>
			<pubDate>Wed, 30 Sep 2009 17:45:54 GMT</pubDate>
			<description>in my college i have been asked to locate a free ftp server on the  local network using softwares like ws_ftp ,cuteFTP.I have downloaded ws_ftp but it is asking for server address. I may not have access to internet in college. How do i go about it? i have created web pages ..now they  should be...</description>
			<content:encoded><![CDATA[<div>in my college i have been asked to locate a free ftp server on the  local network using softwares like ws_ftp ,cuteFTP.I have downloaded ws_ftp but it is asking for server address. I may not have access to internet in college. How do i go about it? i have created web pages ..now they  should be viewed through a web browser.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>poojasweetgirl</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226827.html</guid>
		</item>
		<item>
			<title><![CDATA[How to save data & stay on the same page?]]></title>
			<link>http://www.daniweb.com/forums/thread226726.html</link>
			<pubDate>Wed, 30 Sep 2009 09:14:28 GMT</pubDate>
			<description><![CDATA[Hi, 
am new to asp. Please help me in this. 
 
I have a form, with textfields, checkboxes etc. 
On clicking save button, the control shouldnt go to a different page. 
Same page needs to appear & not a diffferent page. 
Am using javascript for client side scripting  
& vbscript for server side...]]></description>
			<content:encoded><![CDATA[<div>Hi,<br />
am new to asp. Please help me in this.<br />
<br />
I have a form, with textfields, checkboxes etc.<br />
On clicking save button, the control shouldnt go to a different page.<br />
Same page needs to appear &amp; not a diffferent page.<br />
Am using javascript for client side scripting <br />
&amp; vbscript for server side scripting<br />
<br />
Please help in this.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>naziatarannum</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226726.html</guid>
		</item>
		<item>
			<title>Expanding tree view control</title>
			<link>http://www.daniweb.com/forums/thread226563.html</link>
			<pubDate>Tue, 29 Sep 2009 15:17:24 GMT</pubDate>
			<description>Hi Guys 
 
I am created a tree view in a usercontrol..and used it in master page. 
 
But when i access the pages inside the parent node.the treeview is coming back to normal form. 
 
but i want the parent node to be expanded until i am using pages from that section. 
 
can any body please help me...</description>
			<content:encoded><![CDATA[<div>Hi Guys<br />
<br />
I am created a tree view in a usercontrol..and used it in master page.<br />
<br />
But when i access the pages inside the parent node.the treeview is coming back to normal form.<br />
<br />
but i want the parent node to be expanded until i am using pages from that section.<br />
<br />
can any body please help me how to do that..<br />
<br />
My code in user control is ..<br />
<br />
thanks<br />
 <pre style="margin:20px; line-height:13px">public partial class leftmenu : System.Web.UI.UserControl<br />
{<br />
&nbsp; &nbsp; private string sectionName;<br />
&nbsp; &nbsp; private TreeNode currentNode;<br />
&nbsp; &nbsp; private TreeNode parentNode;<br />
&nbsp; &nbsp; public MasterPage Masterpage;<br />
<br />
&nbsp; &nbsp; protected void Page_Load(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; public void SetSectionName(string name)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sectionName = name;<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; private void CheckSelectedNodes(TreeNodeCollection nodes, string selected)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; foreach (TreeNode node in nodes)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //Response.Write(node.Text + &quot; = &quot; + selected + &quot; and &quot; + node.NavigateUrl + &quot;&lt;br /&gt;&quot;);<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (node.Text == selected)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; currentNode = node;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (node.Parent != null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parentNode = node.Parent;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />
<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; node.Expand();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CheckSelectedNodes(node.ChildNodes, selected);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; node.Expand();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; protected void LeftSiteMap_DataBound(object sender, EventArgs e)<br />
&nbsp; &nbsp; &nbsp; &nbsp; {<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; CheckSelectedNodes(LeftSiteMap.Nodes, sectionName);<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LeftSiteMap.Nodes[0].Expand();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (currentNode != null)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; currentNode.Selected = true;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; currentNode.ExpandAll();<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (parentNode != null) parentNode.Expand();<br />
&nbsp; &nbsp; &nbsp; &nbsp; }<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>jas05</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226563.html</guid>
		</item>
		<item>
			<title>FTP server creation</title>
			<link>http://www.daniweb.com/forums/thread226140.html</link>
			<pubDate>Sun, 27 Sep 2009 16:20:28 GMT</pubDate>
			<description><![CDATA[Ok. I know how to create web pages and paste them in the ftp folder. 
 
I want to locate a free FTP server on the local network or the internet.Using WS_FTP,cuteFTP, or other free GUI based FTP client program.Using this client i want to create a folder "x" on the server. 
how do i do that..thanks 
...]]></description>
			<content:encoded><![CDATA[<div>Ok. I know how to create web pages and paste them in the ftp folder.<br />
<br />
I want to locate a free FTP server on the local network or the internet.Using WS_FTP,cuteFTP, or other free GUI based FTP client program.Using this client i want to create a folder &quot;x&quot; on the server.<br />
how do i do that..thanks<br />
<br />
i was earlier given a paid ftp link when i had a blog of my own but never tried to know the science.All readymade.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>poojasweetgirl</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread226140.html</guid>
		</item>
		<item>
			<title>HELP:: Simple Search Box in ASP.</title>
			<link>http://www.daniweb.com/forums/thread224409.html</link>
			<pubDate>Sun, 20 Sep 2009 16:33:19 GMT</pubDate>
			<description><![CDATA[Hello friends, 
 
I am trying to make a simple search box in ASP. 
 
I am using a text box, where the user enters his query. And besides it, I am using drop down menu (<select>.. <option>.. </select>) in which the user selects what he want to search (Song name, Artist, Album name, etc). 
 
I am...]]></description>
			<content:encoded><![CDATA[<div>Hello friends,<br />
<br />
I am trying to make a simple search box in ASP.<br />
<br />
I am using a text box, where the user enters his query. And besides it, I am using drop down menu (&lt;select&gt;.. &lt;option&gt;.. &lt;/select&gt;) in which the user selects what he want to search (Song name, Artist, Album name, etc).<br />
<br />
I am using the following code.<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
Var = request.Form(&quot;sel&quot;)<br />
Query = request.Form(&quot;query&quot;)<br />
sql=&quot;Select Title, Artist, Link from Songs where &quot; &amp; Var &amp;&quot; = '&quot; &amp; Query &amp; &quot;'&quot;<br />
response.write(sql)<br />
rs.Open sql, conn<br />
%&gt;</pre><br />
I am getting the following error:<br />
<br />
Syntax error (missing operator) in query expression '= '''.<br />
<br />
Can any one help me remove it?<br />
<br />
Thanks! :)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>dhavalcoholic</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread224409.html</guid>
		</item>
		<item>
			<title>using fs.OpenTextFile without .TXT</title>
			<link>http://www.daniweb.com/forums/thread223876.html</link>
			<pubDate>Thu, 17 Sep 2009 21:12:56 GMT</pubDate>
			<description><![CDATA[I need to write to a textfile and name it with an extension other than ".txt"  (an archive file) .  For example: myfile.123 
I can't seem to get around the file system object adding ".txt" so my filename becomes myfile_123.txt 
Do I need to write it another way or is there some way to do this with...]]></description>
			<content:encoded><![CDATA[<div>I need to write to a textfile and name it with an extension other than &quot;.txt&quot;  (an archive file) .  For example: myfile.123<br />
I can't seem to get around the file system object adding &quot;.txt&quot; so my filename becomes myfile_123.txt<br />
Do I need to write it another way or is there some way to do this with fso, which I'm comfortable with?<br />
My (nonworking) code:<br />
<br />
 <pre style="margin:20px; line-height:13px">Conn = fs.OpenTextFile(&quot;c:/inetpub/wwwroot/app/files/f.123&quot;, 2, True)<br />
for each obj in s <br />
&nbsp; Conn.WriteLine( obj &amp; &quot;'&quot; )<br />
next obj<br />
Conn.Close()</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>jimib</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223876.html</guid>
		</item>
		<item>
			<title>How Do I Show A Selected Specific Record</title>
			<link>http://www.daniweb.com/forums/thread223810.html</link>
			<pubDate>Thu, 17 Sep 2009 16:07:32 GMT</pubDate>
			<description><![CDATA[Hey 
I want to find out how to display a selected record from a excel database into dreamweaver. In my shopping page on my website "http://212.219.41.137/StudentFTPUser61/store.asp" when you click add to basket (on the right hand side of a product) a small popups appears saying you have...]]></description>
			<content:encoded><![CDATA[<div>Hey<br />
I want to find out how to display a selected record from a excel database into dreamweaver. In my shopping page on my website &quot;http://212.219.41.137/StudentFTPUser61/store.asp&quot; when you click add to basket (on the right hand side of a product) a small popups appears saying you have successfully added that particular product and under that it needs to show the product name, price and pictures. I have done for this  for A01 Umbrella by putting in the bindings but not the repeat region so the only record is shown is the one at the top of table (AO1) <br />
<br />
My question is that how do i show a specific record in the pop up which is the same as the product on the original shop page?<br />
<br />
EDIT:BTW Only the accesories`add to cart` section is currently set up with database records. I will do the rest when the problem is resoleved<br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Gbadger1</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223810.html</guid>
		</item>
		<item>
			<title>How can I delete a row from SQL table using javascript?</title>
			<link>http://www.daniweb.com/forums/thread223416.html</link>
			<pubDate>Wed, 16 Sep 2009 07:18:18 GMT</pubDate>
			<description>Hi this function is to add a Note to the database. Now I want to remove the Note when there is no text available in the Note. 
I am unable to delete the row from the database and so the next time when the page loads the Note reappears. Kindly help me in the regard. Please let me know if I am doing...</description>
			<content:encoded><![CDATA[<div>Hi this function is to add a Note to the database. Now I want to remove the Note when there is no text available in the Note.<br />
I am unable to delete the row from the database and so the next time when the page loads the Note reappears. Kindly help me in the regard. Please let me know if I am doing something wrong.. As i am new to this..<br />
<br />
function AddNote()<br />
{<br />
    SetAccoutChangedToTrue(); //to signify that we'll need to prompt the user to save<br />
    <br />
    var NoteExistingText = document.getElementById(&quot;contextMenuAddNote_ExistingNote&quot;).value;<br />
    var NoteText = document.getElementById(&quot;contextMenuAddNote_Note&quot;).value;<br />
    var NoteDesc = &quot;&quot;; //document.getElementById(&quot;contextMenuAddNote_NoteDesciption&quot;).value;<br />
    var NoteAutoText = document.getElementById(&quot;contextMenuAddNote_AutoNote&quot;).innerHTML;       <br />
    var AssociatedCellID = document.getElementById(&quot;AssociatedCellIDforNote&quot;).value;<br />
    var CurrentUserUID = document.getElementById(&quot;contextMenuAddNote_CurrentUserUID&quot;).value;<br />
    var NoteDBUID = document.getElementById(&quot;contextMenuAddNote_NoteDBUID&quot;).value;<br />
    <br />
    //first - trying to delete the note icon when there is no text <br />
    var SpanElementContainingNote = document.getElementById(AssociatedCellID + &quot;_Note&quot;);<br />
    if(NoteText == &quot;&quot; &amp;&amp; NoteExistingText == &quot;&quot;)<br />
    {   <br />
         if (SpanElementContainingNote != null)<br />
        {<br />
	        var ParentOfSpanElementContainingNote = SpanElementContainingNote.parentNode;<br />
            ParentOfSpanElementContainingNote.removeChild(SpanElementContainingNote);<br />
             // what else should i write here to delete this note permanently.                     <br />
        }<br />
        else<br />
        {      <br />
            return false;<br />
        }<br />
    }<br />
    else<br />
    {    <br />
    if (SpanElementContainingNote != null)<br />
    {<br />
	    var ParentOfSpanElementContainingNote = SpanElementContainingNote.parentNode;<br />
        ParentOfSpanElementContainingNote.removeChild(SpanElementContainingNote);<br />
    }<br />
    <br />
    //add a new Note element<br />
    var AssociatedCell = document.getElementById(AssociatedCellID);<br />
    var TDofAssociatedCell = AssociatedCell.parentElement;<br />
    var spanNode = document.createElement(&quot;SPAN&quot;);<br />
    spanNode.setAttribute(&quot;id&quot;, AssociatedCellID + &quot;_Note&quot;);<br />
    //spanNode.setAttribute(&quot;onclick&quot;, &quot;Javascript<b></b>:showContextMenuUpdateNote('&quot; + AssociatedCellID + &quot;','0', '&quot; + NoteText + &quot;');&quot;)<br />
    spanNode.onclick = function() { showContextMenuUpdateNote(AssociatedCellID, NoteDBUID, NoteText, NoteExistingText, NoteAutoText); };         <br />
    var iconNode = document.createElement(&quot;img&quot;);     <br />
    iconNode.setAttribute(&quot;src&quot;, &quot;App_Themes/Default/Image/note.gif&quot;);<br />
    iconNode.setAttribute(&quot;border&quot;, &quot;0&quot;);<br />
    iconNode.setAttribute(&quot;alt&quot;, NoteText);<br />
    spanNode.appendChild(iconNode);<br />
    spanNode.innerHTML = spanNode.innerHTML + &quot;&lt;/IMG&gt;&quot;; <br />
    var noteNode = document.createElement(&quot;NOTE&quot;);<br />
    noteNode.setAttribute(&quot;AssociatedCellID&quot;, AssociatedCellID);<br />
    if (NoteExistingText != &quot;&quot;)<br />
        noteNode.setAttribute(&quot;NoteExistingText&quot;, NoteExistingText); //xml parser doesn't like empty strings<br />
    if (NoteText != &quot;&quot;)<br />
        noteNode.setAttribute(&quot;NoteText&quot;, NoteText);   <br />
    if (NoteAutoText != &quot;&quot; &amp;&amp; NoteAutoText != &quot;AUTONOTE_BLANK&quot;)        <br />
        noteNode.setAttribute(&quot;NoteAutoText&quot;, NoteAutoText);<br />
    noteNode.setAttribute(&quot;NoteUpdatedBy&quot;, CurrentUserUID);            <br />
    //noteNode.setAttribute(&quot;NoteDesc&quot;, NoteDesc);         <br />
    noteNode.setAttribute(&quot;NoteDBUID&quot;, NoteDBUID);         <br />
    noteNode.innerHTML = noteNode.innerHTML + &quot;&lt;/NOTE&gt;&quot;;        <br />
    spanNode.appendChild(noteNode);<br />
  <br />
    //TDofAssociatedCell.appendChild(spanNode);<br />
    TDofAssociatedCell.insertBefore(spanNode, TDofAssociatedCell.childNodes[0]);<br />
    }<br />
    hideContextMenu(&quot;contextMenuAddNote&quot;);<br />
}</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>jaid_3k</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223416.html</guid>
		</item>
		<item>
			<title>Asp image to binary - binary to image</title>
			<link>http://www.daniweb.com/forums/thread223351.html</link>
			<pubDate>Wed, 16 Sep 2009 02:35:56 GMT</pubDate>
			<description><![CDATA[Hi guys. Please help me with my problem. 
I have to upload my my image to MS SQL SERVER and i don't know what to do. 
 
I want to save it as binary data in using asp and after that, i will display it too. 
 
can you help me with the encoding and decoding of this particular matter? 
 
Thank you in...]]></description>
			<content:encoded><![CDATA[<div>Hi guys. Please help me with my problem.<br />
I have to upload my my image to MS SQL SERVER and i don't know what to do.<br />
<br />
I want to save it as binary data in using asp and after that, i will display it too.<br />
<br />
can you help me with the encoding and decoding of this particular matter?<br />
<br />
Thank you in advance.. And more power..</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>zairgotschi</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223351.html</guid>
		</item>
		<item>
			<title>Asp (not asp.net) and ms sql server 2005 conection</title>
			<link>http://www.daniweb.com/forums/thread223350.html</link>
			<pubDate>Wed, 16 Sep 2009 02:28:41 GMT</pubDate>
			<description><![CDATA[Hi there. Im new to asp programming. And I am doing a research project for my school. 
 
I'm create a website with MS SQL SERVER 2005 with ASP. But the problem is the right connection. I have searched the web almost 2 weeks but nothing happened. 
 
Here's what my code for the connection 
 
   ...]]></description>
			<content:encoded><![CDATA[<div>Hi there. Im new to asp programming. And I am doing a research project for my school.<br />
<br />
I'm create a website with MS SQL SERVER 2005 with ASP. But the problem is the right connection. I have searched the web almost 2 weeks but nothing happened.<br />
<br />
Here's what my code for the connection<br />
<br />
   <div style="margin:20px; margin-top:5px; width: 100%;"> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  &lt;%<br />
      &lt;%<br />
      dim con, Rs<br />
      set con=server.CreateObject(&quot;adodb.connection&quot;)<br />
      con.Open &quot;Provider=sqloledb;SERVER=localhost;DATABASE=SMS;UID=sa;PWD=;&quot;<br />
      set Rs=server.CreateObject(&quot;adodb.recordset&quot;)<br />
      %&gt;  <hr /> </td> </tr> </table> </div>and here's the error message<br />
<br />
<div style="margin:20px; margin-top:5px; width: 100%;"> <div class="smallfont" style="margin-bottom:2px">Quote:</div> <table cellpadding="5" cellspacing="0" border="0" width="100%"> <tr> <td class="alt2"> <hr />  Microsoft OLE DB Provider for SQL Server (0x80004005)<br />
Login failed for user 'sa '. The user is not associated with a trusted SQL Server connection.<br />
/SEARCH MANAGEMENT SYTEM WEBSITE/sample.asp, line 4  <hr /> </td> </tr> </table> </div>Please help me with my problem. And can you teach me how to connect using Windows Authentication in MS SQL?<br />
<br />
Response is highly appreciated. Thanks guys.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>jayroldvicencio</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223350.html</guid>
		</item>
		<item>
			<title>help with image uploader</title>
			<link>http://www.daniweb.com/forums/thread223172.html</link>
			<pubDate>Tue, 15 Sep 2009 09:04:10 GMT</pubDate>
			<description><![CDATA[hie everyone, well here is my " little ", i m developping a web application where one of the fonctionalities is the possibility for the user to enter information about a product he want to sell or rent (car, house ....) along with the picture(s) of the product. the problem is i got everything...]]></description>
			<content:encoded><![CDATA[<div>hie everyone, well here is my &quot; little &quot;, i m developping a web application where one of the fonctionalities is the possibility for the user to enter information about a product he want to sell or rent (car, house ....) along with the picture(s) of the product. the problem is i got everything working with sql 2005 and visual studio but i m failing to upload the pictures in my database and show it in the detailsview control.<br />
can somebody help? i m using c# and asp.net 3.5</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>fabiniyoung</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread223172.html</guid>
		</item>
		<item>
			<title>a little help in asp</title>
			<link>http://www.daniweb.com/forums/thread222664.html</link>
			<pubDate>Sun, 13 Sep 2009 09:12:49 GMT</pubDate>
			<description><![CDATA[i have a login page (html) i need to transfer the username and the password to a text file using asp ... 
 
<FORM method=post action=login.asp> 
<INPUT id=email class=inputtext type=text name=email> 
<INPUT id=pass class=inputpassword type=password name=pass> 
</form> 
i need this parametrs to be...]]></description>
			<content:encoded><![CDATA[<div>i have a login page (html) i need to transfer the username and the password to a text file using asp ...<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;FORM method=post action=login.asp&gt;<br />
&lt;INPUT id=email class=inputtext type=text name=email&gt;<br />
&lt;INPUT id=pass class=inputpassword type=password name=pass&gt;<br />
&lt;/form&gt;</pre><br />
i need this parametrs to be written in text file (notepad) using asp<br />
<br />
<br />
Thanks Alot Guys !!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>troy19</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread222664.html</guid>
		</item>
	</channel>
</rss>
