Home | Advertising Info16 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Problem: My asp inserts blank lines in my database!
From: Karin
Date: 2/25/1999 6:15:03 AM
IP: 194.182.205.3



 

Hi,

I have made a drop-down list with asp - and every time I push my submit button, an ekstra blank line is inserted into my database! - The content in my drop down list is generated from the very database - so after some clicks, my list consists of a lot of blank lines!
What Went Wrong?

Here's my code:

<%
SET DbObj = Server.CreateObjec ("ADODB.Connection")
DbObj.Open "Driver={Microsoft Access Driver (*.mdb)};dbq=db1.mdb;DefaultDir=c:\inetpub\wwwroot\webs\;uid=;pwd=;"
SET oRs = DbObj.Execute("SELECT web, keyword, description FROM keyname WHERE web='" & request.querystring("webnavn") & "'")
SET WebRst = DbObj.Execute("SELECT * FROM keyname")
%>


<FORM METHOD=GET>
<BR>For at se din webs keywords og description - vælg din web her:   

<SELECT NAME="WEBNAVN" SIZE="1" LENGTH="50">

<% while not WebRst.EOF %>
<OPTION <% if Request.querystring("webnavn") = WebRst.Fields("web").Value then %>
<% response.write "SELECTED " %>
<% end if %>

VALUE ="<%=WebRst.Fields("web").Value %>"><%=WebRst.Fields("web").Value %></OPTION>
<% WebRst.MoveNext %>
<% wend %>
<BR>
   <iNPUT TYPE="submit" NAME="knap" VALUE="Vis">


Thank you

Karin

Follow Up - Re: Problem: My asp inserts blank lines in my database! - Wes Funderberg 2/26/1999 11:15:38 AM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com