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 > entries through combobox in SQL db using asp

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-04, 08:30
ashish_coer ashish_coer is offline
Registered User
 
Join Date: Nov 2004
Posts: 1
entries through combobox in SQL db using asp

hello everyone
i am new to ASP. could anyone one help me on
could anyone tell me how i could send entries into SQL data base using dropdownlist.

i am using this code.......
<tr>
<td align=right>DOB</td>
<td align=right>:</td>
<td align=left>
<select name="YEAR" >
<%for j=1970 to 2005 %>
<option value=<%=j%>><%=j%> </option>
<%next%>
</select>

<select name="month">

<% for k=1 to 12 %>

<option value=<%=k%>><%=k%></option>
<%next%>
</select>

<select name="Date">

<% for i = 1 to 30 %>
<option value=<%=i%>><%=i%></option>
<%next%>
</select>

</td>
Reply With Quote
  #2 (permalink)  
Old 11-30-04, 08:57
DMWCincy DMWCincy is offline
Registered User
 
Join Date: May 2004
Posts: 125
Probably the best thing for you is a few references to read up on:

http://www.w3schools.com/

Look for Serverside Scripts on the left hand menu and you will find Learn ASP link there.

http://www.aspfree.com/

Nice place for free scripts and tutorials.

HTH

DMW
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