473,607 Members | 2,659 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

what is the error here?

here is a piece of form field and an asp action codes so the thing is
when i started working on this, at first it was working but after i
formatted my c drive of my computer. i started recieving errors like
this "operations must use an updateable query"

here is the form part:-

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1-transitional.dt d">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head>
<title></title>
<meta http-equiv="content-type"
content="text/html";charset=w indows-1252"/>

<LINK REl="stylesheet " HREF="style_cin .css" TYPE="text/css"/>
<style type="text/css">
<!--
td.heading{font-family:times new roman;font-size:12pt;color :#858585}
-->

</style>
<script type="text/javascript">
<!--
function validate()
{
if (document.form1 .feedbackby.val ue == "")
{
alert('Please enter your Name');
return false;
}
if(document.for m1.subject.valu e == "")
{
alert('Please enter the Subject');
return false;
}

if(document.for m1.feedback.val ue == "")
{
alert('Please enter the Feedback');
return false;
}

else
return true;
}
//-->
</script>
</head>
<body>
<form action="feedbac kresponse.asp" name="form1" method="post"
onsubmit="retur n validate();">
<!-- #include file="includes\ footlinks.asp" -->
<!-- #include file="includes\ copyright.html" -->
<!--LEFT THINGS-->
<table border="0" width="733" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td><img src="images\fee dback.jpg" width="747"></td>
</tr>
</table>
<br>
<table border="0" style="border-collapse:collap se" cellspacing="0"
cellpadding="0" align="left" width="150">

<tr>
<td><embed src="images\but tonList.swf" border="0"></embed>
</td>
</tr>
<tr>
<td valign="top" halign="center" >
<img src="images\pic .jpg" border="0">
</td>
</tr>
<tr>
<td align="left">
<a href="images\bo ysHostellers.jp g" title="click to see a larger
view"><img src="images\boy sHostellers.jpg " width="187" height="133"
border="0"></a>
</td>
</tr>
<tr>
<td align="center"> &nbsp;<img src="images\lin e.jpg">
</td>
</tr>
<tr>
<td><embed src="images\ici tAD.swf" border="0" >
</td>
</tr>
</table>
<table width="500" align="center" border="0" cellspacing="0"
cellpadding="0" style="border-collpase:collap se" >
<tr>
<td colspan="2"><p
align="justify" >&nbsp;&nbsp;&n bsp;&nbsp;&nbsp ;&nbsp;&nbsp;&n bsp;&nbsp;Pleas e
feel free to give any suggestions as it would help us to improve the
site.&nbsp;If you have any problem regarding your account then this
place would help you to contact or give feedback to the SITE
ADMINISTRATOR directly.</p></td>
</tr>
<tr>
<td height="15">
</td>
</tr>
<tr>
<td width="30%"><p
align="center"> Name&nbsp;:&nbs p;&nbsp;&nbsp;& nbsp;&nbsp;&nbs p;&nbsp;&nbsp; </p></td>
<td width="70%" align="left" ><input type="text" size="25"
maxlength="25" name="feedbackb y">
</td>
</tr>
<tr>
<td width="30%"><p
align="center"> Subject&nbsp;:& nbsp;&nbsp;&nbs p;&nbsp;&nbsp;& nbsp;&nbsp;&nbs p;&nbsp;&nbsp;& nbsp;</p></td>
<td width="70%" align="left" ><input type="text" size="25"
maxlength="25" name="subject">
</td>
</tr>
<tr>
<td width="30%" valign="top"><p
align="center"> Feedback&nbsp;: &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; &nbsp;&nbsp;&nb sp;&nbsp;&nbsp; </p></td>
<td width="70%" align="left" ><textarea cols="30" rows="10"
name="feedback" ></textarea>
</td>
</tr>
<tr>
<td align="center" colspan="2"><in put type="submit" value="submit">
</td>
</tr>
</table>
</form>
</body>
</html>
AND HERE's THE ASP ACTION PART:-

here the DSN is "login"

<%

dim db
dim strConn
strConn = "login"
Set db = Server.CreateOb ject("ADODB.Con nection")
'db.open strConn

'Set db = Server.CreateOb ject("ADODB.Con nection")
'strConn="DRIVE R={Microsoft Access Driver (*.mdb)}; "
'strConn=strCon n & "DBQ=" & Server.mappath( "login.mdb" )
'strConn=strCon n & "DBQ=" & "C:\Inetpub\www root\login.mdb"

db.Open strConn
%>

<%
feedbackby=requ est.form("feedb ackby")
subject=request .form("subject" )
feedback=reques t.form("feedbac k")


db.Execute "insert into admins (feedbackby,sub ject,feedback) VALUES
('" & feedbackby & "','" & subject & "','" & feedback &"')"
response.write( "thank you for the feedback")
%>

please HELP ME

Nov 13 '05 #1
0 1403

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3195
by: Armando | last post by:
Hallo ! I habe some error in my programm,because i use <fstream.h>,I want to use <fstream> but i don´t know which fonctions i must modify in my program ? Thanks you for your help. Armando.
2
356
by: Nobody | last post by:
Let me start off with a brief overview... This part is not really important, just saying what its for... I had been working on a Windows GUI library (DLL) when suddenly my boss told he wanted a static .lib version so he could give a customer a single .exe file for the "free version". Certain parts of my library are required to live inside a DLL.
72
5803
by: E. Robert Tisdale | last post by:
What makes a good C/C++ programmer? Would you be surprised if I told you that it has almost nothing to do with your knowledge of C or C++? There isn't much difference in productivity, for example, between a C/C++ programmers with a few weeks of experience and a C/C++ programmer with years of experience. You don't really need to understand the subtle details or use the obscure features of either language
121
9992
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode support IDEs are DreamWeaver 8 and Zend PHP Studio. DreamWeaver provides full support for Unicode. However, DreamWeaver is a web editor rather than a PHP IDE. It only supports basic IntelliSense (or code completion) and doesn't have anything...
10
2345
by: Sune | last post by:
Hi, previously I used Eclipse CDT for compiling my files just to get started with C and leave C++ behind. Now it's time to get a little more serious so I've moved my files to a new workplace and begun to use GNU Autotools. I'm sorry to say I'm new to gcc as well :( Now I get the most ridiculous compile error which I'm unable to solve. Can someone, please, help me with this? gcc output together with the files mentioned in the gcc error...
13
5032
by: Jason Huang | last post by:
Hi, Would someone explain the following coding more detail for me? What's the ( ) for? CurrentText = (TextBox)e.Item.Cells.Controls; Thanks. Jason
669
25796
by: Xah Lee | last post by:
in March, i posted a essay “What is Expressiveness in a Computer Language”, archived at: http://xahlee.org/perl-python/what_is_expresiveness.html I was informed then that there is a academic paper written on this subject. On the Expressive Power of Programming Languages, by Matthias Felleisen, 1990. http://www.ccs.neu.edu/home/cobbe/pl-seminar-jr/notes/2003-sep-26/expressive-slides.pdf
5
8580
by: David Thielen | last post by:
Hi; I am writing the output of a page directly using IHttpHandler, IRequireSessionState and if it is a text file I set HttpContext.Response.ContentType = "text/plain". But when it displays I get an error telling me it's not a legal xml file. Any ideas? --
4
6682
by: grizggg | last post by:
I have searched and not found an answer to this question. I ran upon the following statement in a *.cpp file in a member function: static const char * const pacz_HTMLContentTypeHeader = "Content-Type: text/html\r\n"; Why is the second const needed and what does it do? Thanks
1
1615
by: truedecembr | last post by:
Hi everyone, I am brand new to Java and not really even sure what I'm doing... I'm supposed to be writing a Timer class that is part of a stop watch application, and it seems to me that the program is correct, but when I run the tester, it is obviously not. The goal is to enter a base and a time, and find time % base, then tell how many times it cycled back to zero. I don't know what is wrong with my program, because it appears to me that it...
0
8050
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
7987
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8130
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8324
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6805
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6000
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3954
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2464
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.