469,323 Members | 1,516 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,323 developers. It's quick & easy.

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

Oct 8 '07 #1
2 1864
PW

<vi******@gmail.comwrote in message
news:11**********************@57g2000hsv.googlegro ups.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")


Oct 8 '07 #2

PW wrote:
<vi******@gmail.comwrote in message
news:11**********************@57g2000hsv.googlegro ups.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

Oct 9 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Bob Sanderson | last post: by
2 posts views Thread by Ed via AccessMonster.com | last post: by
3 posts views Thread by Cindi Simonson | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by mdpf | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.