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. |
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 ...
|
|||||||
|
|||
|
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 </FONT></P> </BODY> </HTML> can any one help me?????????? |
| Sponsored Links |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
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 |