how to show more than column value in combo box

dear sir/madam
I have a problem . I have a table of field name ,roll_name, age
I have to show name and roll_number in combo box list. please help me
i m using it
<select name=id1>
<option value="<rs(0)>"><%=rs(0)%><%=rs(1)%></option>
please correct this syntex
vinodkus [ Mo, 08 Oktober 2007 10:56 ] [ ID #1839332 ]

Re: how to show more than column value in combo box

<vinodkus [at] gmail.com> wrote in message
news:1191833793.141917.251460 [at] 57g2000hsv.googlegroups.com...
> dear sir/madam
> I have a problem . I have a table of field name ,roll_name, age
> I have to show name and roll_number in combo box list. please help me
> i m using it
> <select name=id1>
> <option value="<rs(0)>"><%=rs(0)%><%=rs(1)%></option>
> please correct this syntex
>


I always do something like this when I want to display more than 1 column of
data ...

myOption = rs1("ESCI") & " | " & rs1("ESCN")
PW [ Mo, 08 Oktober 2007 14:50 ] [ ID #1839337 ]

Re: how to show more than column value in combo box

PW wrote:

> <vinodkus [at] gmail.com> wrote in message
> news:1191833793.141917.251460 [at] 57g2000hsv.googlegroups.com...
> > dear sir/madam
> > I have a problem . I have a table of field name ,roll_name, age
> > I have to show name and roll_number in combo box list. please help me
> > i m using it
> > <select name=id1>
> > <option value="<rs(0)>"><%=rs(0)%><%=rs(1)%></option>
> > please correct this syntex
> >
>
>
> I always do something like this when I want to display more than 1 column of
> data ...
>
> myOption = rs1("ESCI") & " | " & rs1("ESCN")


Many - many thanks sir
vinodkus [ Di, 09 Oktober 2007 07:25 ] [ ID #1840276 ]
Webserver » microsoft.public.inetserver.asp.general » how to show more than column value in combo box

Vorheriges Thema: Generic code for "texting"
Nächstes Thema: Turn locahost into com