Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

run time problem in asp

This is a discussion on run time problem in asp within the ASP.NET forums, part of the Web Development category; the problem arise whem i trying to update the databse or input data in the database(in accese) through the asp page. data searching and retriving runnig perfectly. the errors shows ...

Go Back   Geeks Talk > Web Development > ASP.NET
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read

ASP.NET ASP.NET and ASP Related Problems

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-16-2009
Junior Member
 
Join Date: Mar 2009
Location: kolkata
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
priyankasdahukhan is on a distinguished road
Question run time problem in asp

the problem arise whem i trying to update the databse or input data in the database(in accese) through the asp page. data searching and retriving runnig perfectly. the errors shows in the time of updation is "database readonly"

i use the following code

<% Response.Buffer=true%>
<% Response.clear%>
<!-- #include file="adovbs.inc" -->
<HTML>
<HEAD>
</HEAD>
<BODY>
<P align=center>

<%

dim conn, rs

set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open(Server.Mappath("/db/database.mdb"))

set rs = Server.CreateObject("ADODB.recordset")
rs.Open "Select * from student",conn,adOpenDynamic ,adLockOptimistic

tname=Request.Form("name")
troll=Request.Form("roll")
tstream=Request.Form("stream")
tspl=Request.Form ("list")

rs.AddNew
rs.Fields("name")=tname
rs.Fields("roll")=Cint(troll)
rs.Fields("stream")=tstream
rs.Fields ("special")=tspl
rs.Update
'conn.Close
'rs.Close

%>


<FONT color=fuchsia size=6>Thank you for giving
information&nbsp;</FONT></P>


</BODY>
</HTML>


can any one help me??????????
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 03-25-2009
Junior Member
 
Join Date: Mar 2009
Location: India
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
nt57323 is on a distinguished road
Re: run time problem in asp

Please elaborate your problem. Unable to understand the above code
Reply With Quote
Reply

  Geeks Talk > Web Development > ASP.NET

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
what is the difference between Wait time and Think time? mantra LoadRunner 8 09-18-2007 03:26 AM
Easy Time Tracking is a powerful, yet extremely easy-to-use time management and custo JobHelper Geeks Lounge 0 09-12-2007 02:52 PM
Major problem while creating universe in real time Geek_Guest Data Warehousing 0 07-05-2007 12:47 AM
C++ compile time errors vs link time errors benyao C and C++ 1 06-29-2007 04:08 AM
Completed My Diploma as Full time and BE Degree as Part time Geek_Guest Career Advice 0 05-21-2007 05:02 PM


All times are GMT -4. The time now is 12:18 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved