If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > getting data from text box to database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-28-08, 18:46
tevez tevez is offline
Registered User
 
Join Date: Jan 2008
Posts: 8
getting data from textbox to database

hi guys,
im a beginner to sql server 2005 express edition.i am currently building my first website using c#. i want to build a website which will book an appointment for
a vetinary clinic.i have 2 tables customer and appointment for d mO

Customer Table includes customerID first name,last name,address,telephone num,username,email, password
This table will be used as a register for customer b4 they gain access to been allowed to book appointments


Appointment Table includes date of appointment,time of appointment ,pet name,pet type and customerID ,


for a start I just want to get all the fields included in the customer table into a database using textboxs which customers will enter their details into ie.first name,last name........for example a visitor goes on the site and wants to register so they can book an appointment online.when they click on the register button,they get the screen wit empty text boxs(first name, last name etc) to enter their data and press submit and the data is added to a database. I would greatly appreciate ideas......thanks

Last edited by tevez; 01-28-08 at 19:01.
Reply With Quote
  #2 (permalink)  
Old 01-28-08, 21:28
tprupsis tprupsis is offline
Registered User
 
Join Date: Jan 2008
Location: Billings, MT
Posts: 14
This is probably a better question for an ASP.NET forum. The FormView and other data controls are really easy to use, map to your data source, and will write all the SQL for you. Just use the wizards in Visual Studio to add the control to your web page.
__________________
Tom Rupsis
Granite Peak Systems
Phone: 406-672-8292
Email: trupsis@granitepeaksys.com
LinkedIn: www.linkedin.com/in/trupsis
Reply With Quote
  #3 (permalink)  
Old 01-29-08, 11:28
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Building a website using C#..?
__________________
George
Twitter | Blog
Reply With Quote
  #4 (permalink)  
Old 01-29-08, 13:55
tevez tevez is offline
Registered User
 
Join Date: Jan 2008
Posts: 8
asp.net i meant
Reply With Quote
  #5 (permalink)  
Old 01-29-08, 18:28
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Threads merged. Tevez, please do not cross-post / multiple-post the same question.

Cheers,
George
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On