Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old December 31st, 2002, 08:29 AM
Shazers Shazers is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Posts: 1 Shazers User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Beginner with problems

Help needed <br><br>Trying to teach myself ASP for my new job having trouble getting information from a form to the database looked at lots of different code and I am even more confused than before I started. <br><br>any help would be great<br>Thanks

Reply With Quote
  #2  
Old October 8th, 2003, 01:21 PM
m_lazor m_lazor is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Luxembourg
Posts: 156 m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level)m_lazor User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Basically, what you do is:
1. Create a connection object
2. Build a connection string (SQL Server: ConnectionString=PROVIDER=MSDataShape;Data Provider=MSDASQL;Driver=SQL Server;Server=MYSERVER;Database=MYDATABASE;UID=MYU SERNAME;PWD=MYPASSWORD;Network=DBMSSOCN;
3. Open this connection
4. Issue an SQL statement against that connection
4a. Eventually open a recordset
ad1) set cn = CreateObject(ADODB.Connection)
ad2) well, copy it and use your own params
ad3) cn.Open
ad4) cn.Execute("UPDATE Clients SET blabla")ad4) set rs=CreateObject("ADODB.Recordset")
set rs= cn.Execute("SELECT * FROM Clients")

Reply With Quote
  #3  
Old August 11th, 2004, 08:28 AM
Maximus2004 Maximus2004 is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 13 Maximus2004 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
http://www.asp101.com/samples/index.asp

http://www.codeave.com

http://www.asp.net/Tutorials/quickstart.aspx

Hi I am new to asp too and found these links great help!
Also, pick up a few asp books at Amazon.

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > Beginner with problems


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT