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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sorting comboboxes

Status
Not open for further replies.

lunaclover

Programmer
Joined
Jun 22, 2005
Messages
54
Hi everybody - I am usually on the vb.net side, but yesterday received a new assignment involving asp.net - changing the functioning of a already developed web report. Please can someone point me in the direction I need to go to pick up some basics on modifying webforms?
I need to sort a combobox, for example, and am not even sure how to do that.
Code:
<td >Priority</td>
					<td bgcolor="white" class="text">
						<select name="fldPriority">
							<% call ListPriorities() %>
						</select>
					</td>

What would I add - (or would I even add it here?) - to sort the field fldPriority which I am assuming gets its data from a column somewhere called ListPriorities? Am I even in the right place to do this kind of thing? Thank you for anything anyone can tell me just to get me started. It's not like in VB.net where you just change the properties on the side column. There's a properties column but its called Misc and hardly has anything in it. I am lost.

Thanks again for any help you can give.
Luna
 
I belive you will have to take a look at the ListPriorities() functions and see if you can order it there.

Jim
 
and, thats not the way to do it in .NET, its the classic ASP way of coding...

Known is handfull, Unknown is worldfull
 
Thanks guys - I'm kind of finding my way around here.. like moving through tar...

I will be back, I'm afraid!

Thanks again for your help!
Leah
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top