piece,code,demonstrate,accessing,database,bas
Quick Search for:  in language:    
piece,code,demonstrate,accessing,database,bas
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
ASP/ VbScript Stats

 Code: 144,429 lines
 Jobs: 168 postings

 
Sponsored by:

 

You are in:

 
Login


 

 


Latest Code Ticker for ASP/ VbScript.
Click here to see a screenshot of this code!Ping in ASP
By Michele_Garneri on 10/28

(Screen Shot)

Embed Real Player Object
By Ziae Mousavi m. on 10/27


Set Country --> Combobox
By Hohl David on 10/27


Client Side Sorting of records
By Ravi Rajan on 10/26


Recordset paging with images
By Ravi Rajan on 10/26


Click here to see a screenshot of this code!Online photo catalogue VBScript 2.1
By Ivan Loire on 10/26

(Screen Shot)

GPS 1.4 WYSIWYG
By Guo Xu on 10/25


Click here to see a screenshot of this code!A Network Monitor tool from ActivXperts Software Inc.
By Freddy Hofstadt on 10/25

(Screen Shot)

Socket samples based on Winsock, TCP/IP and client/server communication
By Ronny Bright on 10/25


Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!





Affiliate Sites



 
 
   

Basic of Database with ASP

Print
Email
 
winzip icon
Submitted on: 9/5/2000 1:20:29 PM
By: Code Master  
Level: Beginner
User Rating: By 23 Users
Compatibility:ASP (Active Server Pages), HTML

Users have accessed this code 36869 times.
 

(About the author)
 
     This piece of code demonstrate the way of accessing database (basic reading and writing). Good for beginners who wish to learn ASP. Nearly every line is documented
 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzipto decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 6 submission(s) by this author

 

 
Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
Reason:
 
Your Vote!

What do you think of this code(in the Beginner category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
9/7/2000 1:25:43 PM:Paul B
Wow, this is what I need!!! Great code 
for begenners and a great comment/line 
ratio!!! Keep up the good work!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 12:51:24 AM:Esmeralda
I think this is a great code. 
I can 
view the inputed data fine.
Except 
when i want to open the data
base, 
since i am using access 97, how
do i 
update this so i can view the imputed 
data through access. any help
will be 
appreciated.
thanks. 
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 4:00:22 AM:Arsalan
Only help I can give is that , create 
the same database in Access 97
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
9/12/2000 6:23:39 PM:Esmeralda
dear arsalan, 
how do i add more 
fields
such as address, city, state, 
phone..ect.
????
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/23/2000 2:33:21 PM:Chris
Thank you very much... This really help 
me understant how ASP works. All the 
tutorialls on the net are so advanced 
that i could never understand 
them..This is a perfect tutorial for 
beginners.. Thanks a lot Arsalan
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
11/18/2000 1:57:29 AM:Beuno
I just want to say how much we 
apretiate the submitions ppl make, 
cause I think thats not said enough
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
2/21/2001 12:08:15 AM:Mark V
I want to thank you for this code. It 
is well documented and helps newbies 
out when trying to use ASP and apply it.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/8/2001 6:38:57 AM:Exus
Great code been looking for a simple 
code like this for ages thanks for 
makeing this available and  a   top 
notch! Explanation on wot everything 
does :)
icq 6051839
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/24/2001 8:10:06 AM:Stewart MacFarlane
This code is excellent for my needs. 
But im getting errors using the raw 
code you supplied without any 
modifications: 
Error 
Type:
Microsoft JET Database Engine 
(0x80040E09)
Cannot update. Database 
or object is 
read-only.
/aspvb/add.asp, line 
29
Browser Type:
Mozilla/4.0 
(compatible; MSIE 5.01; Windows NT 5.0) 
Page:
POST 30 bytes to 
/aspvb/add.asp
POST 
Data:
txtnameadd=hello&ButtonAdd=Add 
and the delte doesnt delete entried 
in the database
Ive checked to make 
sure the database file is not set to 
read only and that nothing in the 
database is locked. can you help?
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/24/2001 12:10:12 PM:Code Master
Stewart MacFarlane :
Its because the 
folder in which you've kept the 
database file doesnt have read/write 
permission, that is why its giving the 
error
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
4/27/2001 3:40:15 PM:Rene
Thank you so much for posting this!  In 
dealing with many database connection 
errors, i put this on my server and 
with a few changes to match my 
locations of files, it worked!  You and 
your clean, easy code saved the day.  I 
thank you!!!!
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
7/5/2001 11:01:21 PM:Chris Woods
Thanks for sharing your great ideas and 
ASP inventions with the masses. I'm 
sure that my limited knowledge of ASP 
will improve after studying your 
code.
Also, do you know of any 
downloads on this site that can be used 
to create something like a a review 
site for autos, with a reviews page and 
payment page for advertising and 
stuff?
Thanks,
Chris 
Woods
chriswoods@ntlworld.com
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/1/2002 9:07:47 PM:
The code doesn't work on my website. 
What possible reasons might there be? I 
keep getting 500 errors every time I 
try to run the command.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
10/2/2002 3:30:37 AM:Code Master
See above for the solutions to your 
problem.
Keep the Planet clean! If this comment was disrespectful, please report it:
Reason:

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
Name:
Comment:

 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Feedback | Customize | ASP/ VbScript Home | Site Home | Other Sites | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.  Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.