<?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>Sun, 08 Nov 2009 05:29:27 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>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; "> <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; "> <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; "> <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>
		<item>
			<title>problem diplaying ASP</title>
			<link>http://www.daniweb.com/forums/thread221511.html</link>
			<pubDate>Tue, 08 Sep 2009 16:45:11 GMT</pubDate>
			<description>Hi, 
Im inserting data into a SQL2000 table with breaks/paragraphs and returning it on an ASP (VBScript) page without the breaks. 
 
The information is going into the table as follows; 
 
The quick brown fox jumps  
over a lazy dog. The quick brown  
fox jumps over a lazy dog. 
 
But its returning...</description>
			<content:encoded><![CDATA[<div>Hi,<br />
Im inserting data into a SQL2000 table with breaks/paragraphs and returning it on an ASP (VBScript) page without the breaks.<br />
<br />
The information is going into the table as follows;<br />
<br />
The quick brown fox jumps <br />
over a lazy dog. The quick brown <br />
fox jumps over a lazy dog.<br />
<br />
But its returning like so<br />
<br />
The quick brown fox jumps over a lazy dog. The quick brown fox jumps over a lazy dog.<br />
<br />
Basically its not holding its inserted structure when its being returned to the page. Is there any coding i can use to keep its structure.</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/thread221511.html</guid>
		</item>
		<item>
			<title>IIS server restarts, how to debug?</title>
			<link>http://www.daniweb.com/forums/thread215846.html</link>
			<pubDate>Wed, 02 Sep 2009 23:11:14 GMT</pubDate>
			<description>We have a fairly complex system that uses ASP scripts to access a database and other global memory in the Application object. About 150 users access the system during the day. Every once in a while, the IIS server restarts (or maybe it is the Application object?). 
 
I have not been able to...</description>
			<content:encoded><![CDATA[<div>We have a fairly complex system that uses ASP scripts to access a database and other global memory in the Application object. About 150 users access the system during the day. Every once in a while, the IIS server restarts (or maybe it is the Application object?).<br />
<br />
I have not been able to determine what the error condition is that causes this. It is apparently from one script, or some other condition. The symbol is the Application object gets disposed and starts up again, effectively resetting our whole system.<br />
<br />
Any ideas on how to debug this thing? I am at my whit's end.</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>garsworld</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread215846.html</guid>
		</item>
		<item>
			<title>Dynamic Array and Checboxes</title>
			<link>http://www.daniweb.com/forums/thread215506.html</link>
			<pubDate>Tue, 01 Sep 2009 16:45:54 GMT</pubDate>
			<description>Hi  
Can anyone tell me if the following is possible and how I would do it 
 
I have an Access Database with a Table called tblProducts and a Field called prodColors 
 
On my web admin page I have created a list of checkboxes with 
the various color options as checkboxes. 
 
When the page is...</description>
			<content:encoded><![CDATA[<div>Hi <br />
Can anyone tell me if the following is possible and how I would do it<br />
<br />
I have an Access Database with a Table called tblProducts and a Field called prodColors<br />
<br />
On my web admin page I have created a list of checkboxes with<br />
the various color options as checkboxes.<br />
<br />
When the page is updated the value of the checkboxes is saved to the Access Database in the prodColors field as comma separated numeric values eg 1,4,7 (where each value represents a color)<br />
<br />
<span style="font-weight:bold">What I am trying to achieve is the following;</span><br />
when the web admin page is loaded it checks the values in the prodColors field against  the values of the checkboxes and checks those boxes where the value exists.<br />
<br />
I having been trying to achieve this through Dynamic arrays using split function etc but as yet no success.<br />
<br />
Any help appreciated <br />
<br />
Thanks</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>kaden712</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread215506.html</guid>
		</item>
		<item>
			<title>Please help on creating ASP.Net splash screen</title>
			<link>http://www.daniweb.com/forums/thread215430.html</link>
			<pubDate>Tue, 01 Sep 2009 11:01:50 GMT</pubDate>
			<description>Anyone please help me i want to add a splash screen on asp application. I want the splash which can appear for few seconds(E.g when u just log in here in this site)</description>
			<content:encoded><![CDATA[<div>Anyone please help me i want to add a splash screen on asp application. I want the splash which can appear for few seconds(E.g when u just log in here in this site)</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Mongz</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread215430.html</guid>
		</item>
		<item>
			<title>mouse over ,sub menu appear</title>
			<link>http://www.daniweb.com/forums/thread214317.html</link>
			<pubDate>Thu, 27 Aug 2009 07:07:54 GMT</pubDate>
			<description>hi 
i would like to know how to create a mouse over sub menue</description>
			<content:encoded><![CDATA[<div>hi<br />
i would like to know how to create a mouse over sub menue</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>dheema</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214317.html</guid>
		</item>
		<item>
			<title><![CDATA[What is &H100000?]]></title>
			<link>http://www.daniweb.com/forums/thread214226.html</link>
			<pubDate>Wed, 26 Aug 2009 23:39:19 GMT</pubDate>
			<description><![CDATA[I'm using some (previously written by someone else who isn't around to ask anymore) VBScript to upload files to a webserver and on my upload processing page, there is a line that says: 
 
  <div class="codeblock"> <div class="spaced"> <div style="float:right; margin-right:10px"> <a...]]></description>
			<content:encoded><![CDATA[<div>I'm using some (previously written by someone else who isn't around to ask anymore) VBScript to upload files to a webserver and on my upload processing page, there is a line that says:<br />
<br />
 <pre style="margin:20px; line-height:13px">Form.SizeLimit = &amp;H100000</pre><br />
I understand that the assignment means not to accept forms coming in that are over 1MB in size, and I know how to change it (I changed it to &amp;HA00000 for 10MB). All I really want to know is what &amp;H100000 means. I've beens using classic asp for some time now and this is the first time I've come across making an assignment like this.<br />
<br />
Another part of the code has:<br />
<br />
 <pre style="margin:20px; line-height:13px">(&quot; &amp; Form.TotalBytes \1024 &amp; &quot;kB) was saved</pre><br />
To let you know how many kB were transfered, which suggests to me that the 100000 part is Hexadecimal, and if I do the math myself that shows up right. I guess really what I don't understand is what the &amp;H means. Is it just indicating that the 6 digits following the &amp;H are in hexadecimal?<br />
<br />
The code works fine and I don't have any problems with it or anything like that, I'm just curious what this is. If someone wouldn't mind giving me a little explanation of what this is or means would appreciate it.<br />
<br />
Thanks!</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>bondo</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214226.html</guid>
		</item>
		<item>
			<title>Front Page 2002 Error messages - unable to edit website</title>
			<link>http://www.daniweb.com/forums/thread214165.html</link>
			<pubDate>Wed, 26 Aug 2009 17:05:07 GMT</pubDate>
			<description><![CDATA[I'm using XP and Front Page 2002: 
I probably edited my website a month ago - no problem.  Today I'm trying, I go to where I normally open up my website and I get this error message:  "The server could not complete your request.  Contact your ISP or web server administrator to make sure the server...]]></description>
			<content:encoded><![CDATA[<div>I'm using XP and Front Page 2002:<br />
I probably edited my website a month ago - no problem.  Today I'm trying, I go to where I normally open up my website and I get this error message:  &quot;The server could not complete your request.  Contact your ISP or web server administrator to make sure the server has Front Page Server extensions or SharePoint Team Services from Microsoft installed&quot;.  When I click on &quot;details&quot; I get this:  404 Not Found<br />
    Not Found The requested URL /_vti_bin/_vti_aut/author.dll was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.  Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 Server at <a rel="nofollow" class="t" href="http://www.diamondrecruiters.com" target="_blank">www.diamondrecruiters.com</a> Port 80  <br />
<br />
 I have no idea what that means.  I tried again, not putting in the http etc. but just from www onwards and got this error message: <br />
&quot;Documents in this folder are not available.   The folder may have been moved, deleted, or there may be network problems connecting to the server.&quot; <br />
<br />
I tried connecting to a different website, which is hosted by a different company (not sure which one) - same problems.  Does anyone have any idea what's wrong?  Thank you</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>chewedpup</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214165.html</guid>
		</item>
		<item>
			<title>Emails sent using cdo going into spam folders</title>
			<link>http://www.daniweb.com/forums/thread214041.html</link>
			<pubDate>Wed, 26 Aug 2009 08:04:02 GMT</pubDate>
			<description>Hi Guys 
 
I am sending emails using cdo and SMTP Authentication in ASP. 
 
When I send emails to my clients who have Yahoo and Hotmail accounts the emails go into their spam/junk mail folders. 
 
Is there anything I can do about this? 
 
Thanks</description>
			<content:encoded><![CDATA[<div>Hi Guys<br />
<br />
I am sending emails using cdo and SMTP Authentication in ASP.<br />
<br />
When I send emails to my clients who have Yahoo and Hotmail accounts the emails go into their spam/junk mail folders.<br />
<br />
Is there anything I can do about this?<br />
<br />
Thanks<br />
<br />
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/thread214041.html</guid>
		</item>
		<item>
			<title>Using Content Linking (NextLink) Component with querystrings</title>
			<link>http://www.daniweb.com/forums/thread214034.html</link>
			<pubDate>Wed, 26 Aug 2009 07:14:17 GMT</pubDate>
			<description><![CDATA[Hello, I was wondering if you can't use the content linker component with request.querystring urls. Here's the problem I have: 
 
I have 1 product detail page (bbowl_dt.asp) which shows different products according to the product id (phoid) clicked on the parent page. I want next and previous links...]]></description>
			<content:encoded><![CDATA[<div>Hello, I was wondering if you can't use the content linker component with request.querystring urls. Here's the problem I have:<br />
<br />
I have 1 product detail page (bbowl_dt.asp) which shows different products according to the product id (phoid) clicked on the parent page. I want next and previous links below the product photo. The bbowl_dt.asp is partly as below:<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
dim phoid, phSrc, PageNext, PagePrev, ListCount, ListIndex,objNL, currentURL<br />
phoid = request.QueryString(&quot;pid&quot;)<br />
phSrc = &quot;../img/full/DSC_&quot; &amp; phoid &amp; &quot;.jpg&quot;<br />
set objNL = Server.CreateObject(&quot;MSWC.NextLink&quot;)<br />
PageNext = objNL.GetNextURL(&quot;cl_bbowl.txt&quot;)<br />
PagePrev = objNL.GetPreviousURL(&quot;cl_bbowl.txt&quot;)<br />
ListCount = objNL.GetListCount(&quot;cl_bbowl.txt&quot;)<br />
ListIndex = objNL.GetListIndex(&quot;cl_bbowl.txt&quot;)<br />
<br />
select case phoid<br />
&nbsp; &nbsp; case &quot;7142&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; cat = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size1 = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size2 = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size3 = &quot;............&quot;<br />
&nbsp; &nbsp; case &quot;7145&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; cat = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size1 = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size2 = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size3 = &quot;............&quot;<br />
&nbsp; &nbsp; case &quot;7143&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; cat = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size1 = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size2 = &quot;............&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; size3 = &quot;............&quot;<br />
&nbsp;  .<br />
&nbsp;  .<br />
&nbsp;  .<br />
end select<br />
%&gt;<br />
&lt;table width=&quot;100%&quot;&gt;<br />
&nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td colspan=&quot;2&quot; width=&quot;50%&quot;&gt;&lt;div align=&quot;center&quot;&gt;&lt;img src=&quot;&lt;%=phSrc%&gt;&quot; /&gt;&lt;/div&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td width=&quot;50%&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;Product: &lt;%=cat%&gt;&lt;/p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;%=size1%&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;%=size2%&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;%=size3%&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/p&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;25%&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;a href=&quot;&lt;%=PagePrev%&gt;&quot;&gt;&lt;img src=&quot;../img/left1.gif&quot; alt=&quot;Previous&quot; /&gt;&lt;/a&gt;&lt;br /&gt;Previous&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;td align=&quot;center&quot; width=&quot;25%&quot;&gt;&lt;img src=&quot;../img/right1.gif&quot; alt=&quot;Next&quot; /&gt;&lt;br /&gt;Next&lt;/td&gt;<br />
&nbsp; &nbsp; &lt;/tr&gt;<br />
&lt;/table&gt;</pre>For debugging purposes, I have the following below the table:<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
response.write(&quot;ListIndex: &quot; &amp; ListIndex &amp; &quot; ListCount: &quot; &amp; ListCount &amp; &quot;&lt;br /&gt;PagePrev: &quot; &amp; PagePrev &amp; &quot; PageNext: &quot; &amp; PageNext)<br />
%&gt;</pre>The index file cl_bbowl.txt is like below:<br />
 <pre style="margin:20px; line-height:13px">bbowl_dt.asp?pid=7142&nbsp; &nbsp; 7142<br />
bbowl_dt.asp?pid=7143&nbsp; &nbsp; 7143<br />
bbowl_dt.asp?pid=7135&nbsp; &nbsp; 7135<br />
bbowl_dt.asp?pid=7145&nbsp; &nbsp; 7145<br />
bbowl_dt.asp?pid=7151&nbsp; &nbsp; 7151<br />
bbowl_dt.asp?pid=7134&nbsp; &nbsp; 7134<br />
bbowl_dt.asp?pid=7165&nbsp; &nbsp; 7165<br />
bbowl_dt.asp?pid=7166&nbsp; &nbsp; 7166<br />
bbowl_dt.asp?pid=7146&nbsp; &nbsp; 7146<br />
bbowl_dt.asp?pid=7167&nbsp; &nbsp; 7167<br />
bbowl_dt.asp?pid=7164&nbsp; &nbsp; 7164<br />
bbowl_dt.asp?pid=7160&nbsp; &nbsp; 7160<br />
bbowl_dt.asp?pid=7157&nbsp; &nbsp; 7157<br />
bbowl_dt.asp?pid=7162&nbsp; &nbsp; 7162<br />
bbowl_dt.asp?pid=7158&nbsp; &nbsp; 7158<br />
bbowl_dt.asp?pid=7153&nbsp; &nbsp; 7153<br />
bbowl_dt.asp?pid=3800&nbsp; &nbsp; 3800<br />
bbowl_dt.asp?pid=2053&nbsp; &nbsp; 2053<br />
bbowl_dt.asp?pid=2058&nbsp; &nbsp; 2058<br />
bbowl_dt.asp?pid=3809&nbsp; &nbsp; 3809<br />
bbowl_dt.asp?pid=3793&nbsp; &nbsp; 3793<br />
bbowl_dt.asp?pid=7133&nbsp; &nbsp; 7133<br />
bbowl_dt.asp?pid=3813&nbsp; &nbsp; 3813</pre>Problem is, whichever product page I'm in, the ListIndex shows 0, ListCount is correct (23), PagePrev is always the first product (bbowl_dt.asp?pid=7142) and PageNext is always the last product (bbowl_dt.asp?pid=3813). I was wondering if this is because I am using Request.QueryString(&quot;pid&quot;) to get the product or am I doing something else wrong. Are there any workarounds??<br />
<br />
Thanks in advance for your feedback and assistance</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>celalo</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread214034.html</guid>
		</item>
		<item>
			<title>Booking Form Issue</title>
			<link>http://www.daniweb.com/forums/thread213697.html</link>
			<pubDate>Tue, 25 Aug 2009 02:03:14 GMT</pubDate>
			<description>Hi Forum Members, 
I have been struggling abit in trying to get my booking form submit successfully and to receive the email when completing the booking form. 
Iam using asp to submit the booking form. I know it must be an error in my coding, script whereby someone else can pick up the glitch. 
...</description>
			<content:encoded><![CDATA[<div>Hi Forum Members,<br />
I have been struggling abit in trying to get my booking form submit successfully and to receive the email when completing the booking form.<br />
Iam using asp to submit the booking form. I know it must be an error in my coding, script whereby someone else can pick up the glitch.<br />
<br />
Kindly appreciate if someone could assist me in that area, that would be most appreciated.<br />
<br />
Below is my booking form code and if someonse could provide me with an asp script to copy. <br />
<br />
&lt;CODE MOVED TO ATTACHMENTS&gt;<br />
<br />
<br />
Look forward to any support and assistance that can be shared.<br />
<br />
With kind regards<br />
<br />
Matt</div>  <br /> <div style="padding:5px">     <fieldset class="fieldset"> <legend>Attached Files</legend> <table cellpadding="0" cellspacing="5" border="0"> <tr> <td><img class="inlineimg" src="http://www.daniweb.com/forums/images/attach/txt.gif" alt="File Type: txt" width="16" height="16" border="0" style="vertical-align:baseline" /></td> <td><a href="http://www.daniweb.com/forums/attachment.php?attachmentid=11364&amp;d=1251215157">code.txt</a> (81.9 KB)</td> </tr> </table> </fieldset>  </div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Neselima</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread213697.html</guid>
		</item>
		<item>
			<title>show if recordset empty</title>
			<link>http://www.daniweb.com/forums/thread211556.html</link>
			<pubDate>Fri, 14 Aug 2009 19:57:18 GMT</pubDate>
			<description><![CDATA[I added this code on my page to appear if a recordset is empty: 
 
<% If rsArticles.EOF = False Then %> 
                      Sorry, there are no listings for this classification today 
  <% End If  %>	 
I tested the page and that phrase did not appear. There are no records in that field so it...]]></description>
			<content:encoded><![CDATA[<div>I added this code on my page to appear if a recordset is empty:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;% If rsArticles.EOF = False Then %&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Sorry, there are no listings for this classification today<br />
&nbsp; &lt;% End If&nbsp; %&gt;</pre><br />
I tested the page and that phrase did not appear. There are no records in that field so it should work.<br />
<br />
Code at the top:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
Dim rsArticles<br />
Dim rsArticles_cmd<br />
Dim rsArticles_numRows<br />
<br />
Set rsArticles_cmd = Server.CreateObject (&quot;ADODB.Command&quot;)<br />
rsArticles_cmd.ActiveConnection = MM_Classifieds_STRING<br />
rsArticles_cmd.CommandText = &quot;SELECT * FROM Test WHERE CLASS_NUMBER = '44' ORDER BY START_DATE ASC&quot; <br />
rsArticles_cmd.Prepared = true<br />
<br />
Set rsArticles = rsArticles_cmd.Execute<br />
rsArticles_numRows = 0<br />
%&gt;<br />
&lt;%<br />
Dim Repeat1__numRows<br />
Dim Repeat1__index<br />
<br />
Repeat1__numRows = -1<br />
Repeat1__index = 0<br />
rsArticles_numRows = rsArticles_numRows + Repeat1__numRows<br />
%&gt;</pre><br />
Any ideas what the problem could be?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>dthatsme33</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211556.html</guid>
		</item>
		<item>
			<title>Form Not Working Properly</title>
			<link>http://www.daniweb.com/forums/thread211548.html</link>
			<pubDate>Fri, 14 Aug 2009 18:42:11 GMT</pubDate>
			<description>I have a couple of files here. 
I have a form on our home page that was working until just a few minutes ago and I have no idea what has changed. It was moved from the bottom of the page to the of the page but that is all. 
 
Now when I try to use the form it goes to the directory but says a...</description>
			<content:encoded><![CDATA[<div>I have a couple of files here.<br />
I have a form on our home page that was working until just a few minutes ago and I have no idea what has changed. It was moved from the bottom of the page to the of the page but that is all.<br />
<br />
Now when I try to use the form it goes to the directory but says a directory listing is not allowed and does not go to the pdf file within the directory like it is supposed to.<br />
<br />
Any help is welcome.<br />
Code posted below<br />
<br />
<br />
Here is the form that is on the home page:<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;tr&gt; &lt;br&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td bgcolor=&quot;#003398&quot; height=&quot;18&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;b&gt;&lt;font face=&quot;Arial&quot; size=&quot;2&quot; color=&quot;#FFFFFF&quot;&gt;Courses&lt;/font&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td height=&quot;71&quot; valign=&quot;top&quot;&gt;<br />
&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; &lt;select size=&quot;1&quot; name=&quot;Courses&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;Surveying_Ethics_0007604.pdf&quot;&gt;Surveying Ethics 101 #0007604&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;option value=&quot;Florida_MTS_-_T09_0007603.pdf&quot;&gt;Florida MTS T09 #0007603&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;option value=&quot;Florida_Laws_-_T09_0007602.pdf&quot;&gt;Florida Laws T09 #0007602&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;option value=&quot;ContractLaw_0003790.pdf&quot;&gt;Contract Law #0003790&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;DeedInterpretation_0003797.pdf&quot;&gt;Deed Interpretation #0003797&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;FloridaLaws_0003789.pdf&quot;&gt;Florida Laws #0003789&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;FloridaMTS_0003788.pdf&quot;&gt;Florida Minimum Technical Standards #0003788&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;GeorgiaLaws_0006457.pdf&quot;&gt;Georgia Laws #0006457&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;GeorgiaMTS_0006458.pdf&quot;&gt;Georgia Minimum Technical Standards #0006458&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;LegalDefensesandProfessionalism_0003793.pdf&quot;&gt;Legal Defenses and Professionalism #0003793&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;LegalDescriptions_0003796.pdf&quot;&gt;Legal Descriptions #0003796&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option value=&quot;LimitationsofLiabilityandMalpracticeDamage_0003792.pdf&quot;&gt;Limitations of Liability and Malpractice Damages #0003792&lt;/option&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;option&nbsp; value=&quot;NegligenceLaw_0003791.pdf&quot;&gt;Negligence Law #0003791&lt;/option&gt;<br />
&nbsp; &nbsp; &lt;/select&gt;<br />
&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; &lt;form method=&quot;POST&quot; action=&quot;courses.asp&quot;&gt;<br />
&nbsp; <br />
&nbsp; &nbsp; &lt;p&gt;<br />
&nbsp; &nbsp; &lt;input type=&quot;submit&quot; value=&quot;Submit&quot; name=&quot;B1&quot;&gt;&lt;/p&gt;<br />
&lt;/form&gt;</pre><br />
<br />
and here is the courses.asp code that is called by the form<br />
<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
CoursePath = &quot;CoursesAndSeminars/&quot; &amp; request(&quot;Courses&quot;)<br />
response.redirect(CoursePath)<br />
%&gt;</pre><br />
the code itself has not been modified at all. Simply the form was moved to the top of the page in a design editor.<br />
<br />
to visit the page in question you can view surveyors.org<br />
the dropdown form is at the top of the page above the video.<br />
<br />
Thank you</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>Lightninghawk</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211548.html</guid>
		</item>
		<item>
			<title>Record Duplicate ?</title>
			<link>http://www.daniweb.com/forums/thread211491.html</link>
			<pubDate>Fri, 14 Aug 2009 12:41:37 GMT</pubDate>
			<description><![CDATA[Hi.  This should be simple for the experienced.  This code pulls the first record twice, but the rest are fine.   I can't figure it out!  Thanks for looking! 
-------- 
<% 
set conn=Server.CreateObject("ADODB.Connection") 
conn.Provider="Microsoft.Jet.OLEDB.4.0"...]]></description>
			<content:encoded><![CDATA[<div>Hi.  This should be simple for the experienced.  This code pulls the first record twice, but the rest are fine.   I can't figure it out!  Thanks for looking!<br />
--------<br />
 <pre style="margin:20px; line-height:13px">&lt;%<br />
set conn=Server.CreateObject(&quot;ADODB.Connection&quot;)<br />
conn.Provider=&quot;Microsoft.Jet.OLEDB.4.0&quot;<br />
conn.Open(Server.Mappath(&quot;products.mdb&quot;))<br />
set rs = Server.CreateObject(&quot;ADODB.recordset&quot;)<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <br />
&nbsp;<br />
sql=&quot;SELECT Model, Volts_Hz, BTUH, Max_Amps, Max_Temp, '&lt;a href='+Drawing+'&gt;'+Model+'&lt;/a&gt;' AS Drawing FROM VAirConditioners ORDER BY BTUH ASC&quot;<br />
rs.Open sql, conn<br />
%&gt;<br />
<br />
<br />
&lt;table id=&quot;header205&quot; align=&quot;center&quot;&gt;<br />
&lt;tr&gt;<br />
&lt;%<br />
<br />
<br />
for each x in rs.Fields<br />
&nbsp; &nbsp; response.write(&quot;&lt;th&gt;&quot; &amp; x.name &amp; &quot;&lt;/th&gt;&quot;) <br />
%&gt;<br />
&nbsp;&lt;td &quot;nowrap=&quot;nowrap&quot; class=&quot;tablesytle4&quot;&gt;&lt;%Response.Write(x.value)%&gt;&lt;/tr&gt;<br />
&lt;tr&gt;&lt;%next %&gt;<br />
<br />
<br />
&lt;%do until rs.EOF%&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &lt;%<br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; for each x in rs.Fields<br />
&nbsp; &nbsp; &nbsp; &nbsp; response.write(&quot;&lt;th&gt;&quot; &amp; x.name &amp; &quot;&lt;/th&gt;&quot;) %&gt;<br />
&nbsp; &nbsp; &nbsp;  &lt;td &quot;nowrap=&quot;nowrap&quot; class=&quot;tablesytle4&quot;&gt;&lt;%Response.Write(x.value)%&gt;<br />
&nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;%next<br />
&nbsp; &nbsp; rs.MoveNext%&gt;<br />
&nbsp;  &lt;/td&gt; &lt;/tr&gt;<br />
<br />
&lt;%loop<br />
rs.close<br />
conn.close<br />
%&gt;&lt;/table&gt;</pre></div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>katec</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread211491.html</guid>
		</item>
		<item>
			<title>quick asp question</title>
			<link>http://www.daniweb.com/forums/thread212337.html</link>
			<pubDate>Fri, 14 Aug 2009 12:32:17 GMT</pubDate>
			<description>quick asp question (possibly dumb) 
 
I have a form setup which uses a php form submit post file. 
I may need to use an asp form submit post file. 
 
Will an I need to rename my file .asp in order to make this work? 
 
I have other php on the page, I guess I will need to find an asp solution for...</description>
			<content:encoded><![CDATA[<div>quick asp question (possibly dumb)<br />
<br />
I have a form setup which uses a php form submit post file.<br />
I may need to use an asp form submit post file.<br />
<br />
Will an I need to rename my file .asp in order to make this work?<br />
<br />
I have other php on the page, I guess I will need to find an asp solution for those as well?</div> ]]></content:encoded>
			<category domain="http://www.daniweb.com/forums/forum62.html">ASP</category>
			<dc:creator>bbqkaren</dc:creator>
			<guid isPermaLink="true">http://www.daniweb.com/forums/thread212337.html</guid>
		</item>
		<item>
			<title>Exiting Select case statement</title>
			<link>http://www.daniweb.com/forums/thread211081.html</link>
			<pubDate>Wed, 12 Aug 2009 21:26:27 GMT</pubDate>
			<description><![CDATA[So I'm coding a form in html and ASP and so far I have it working perfectly in terms of going from one page of the form to the next and shooting off an email at the end as verification of the form input. 
 
What I've just inserted into the code now are some new form elements, namely a password and...]]></description>
			<content:encoded><![CDATA[<div>So I'm coding a form in html and ASP and so far I have it working perfectly in terms of going from one page of the form to the next and shooting off an email at the end as verification of the form input.<br />
<br />
What I've just inserted into the code now are some new form elements, namely a password and confirm password (this is for a member registration form).<br />
<br />
What I want is for the page to proceed to the next part of the form if the password is the same as the confirm password, and to blast an error if the password values are not the same.<br />
<br />
The select case statement that involves moving from one page to another (which worked until I inserted the bolded items) is this<br />
<br />
 <pre style="margin:20px; line-height:13px">Select Case Request.Form(&quot;navigate&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; Case &quot;&lt; Back&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; intCurrentPage = intPreviousPage - 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; Case &quot;Next &gt;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight:bold">If Request.Form(&quot;cWP&quot;) = Request.Form(&quot;cWPconfirm&quot;) Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; intCurrentPage = intPreviousPage + 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span style="font-weight:bold">Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AbortMessage = &quot;Password mismatch, please re-enter and reconfirm password&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Case Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Either it's our first run of the page and we're on page 1 or<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' the form is complete and pages are unimportant because we're<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' about to process our data!<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; intCurrentPage = 1<br />
End Select</pre><br />
I want to break out of the select statement once I reach the password mismatch, but the term &quot;break&quot; does nothing in ASP, so I'm wondering what is it's equivalent, or if there is even a way in the first place to exit from a select case statement.<br />
<br />
Thanks so much beforehand for any and all advice. I hope nothing that I've mentioned so far is unclear or vague. Let me know if it is and I will try to clarify.<br />
<br />
-LP</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/thread211081.html</guid>
		</item>
	</channel>
</rss>
