Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to display/add data in 3 column grid in a combo

Status
Not open for further replies.

smuralig

IS-IT--Management
Dec 26, 2002
10
IN

I want to get the two coloumn data from user and display them in a combo box. I'm sending each colum data to differnt tables. Ofcourse it is related with inner joins.
I'm using SQL 7.0 on Win NT. Please tell me how to i Proceed.

thanks
murali
 
to populate a recordset in a combo box:
in ASP page
<%
rs.open SQL,connection 'assuming both are there
%>
<select name=&quot;combo&quot;>
<%
do until rs.eof
%>
<option value=&quot;<%=rs(0)%>&quot;><%=rs(0)%></option>
<%
rs.movenext
loop
%>
</select>

Known is handfull, Unknown is worldfull
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top