[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webcontrols

dropdownlist populated from two sources

(AHP)

1/21/2003 10:11:00 PM

I'm fairly new to ASP.NET and have what is probably a basic question.

I have bound a dropdownlist to a data source. But I want the item
"All Depts" as the first entry in the list. I've read some other
threads which indicate that I should insert "All Depts" after the data
binding. But I can't seem to figure out where to put the command or
the syntax to do this.

When a user selects an item from my list, their selection will be used
in a subsequent SQL statement to requery a datasource.

I'm using ASP.NET v.1.0 - SP2, writing in Textpad in VB.NET.

Any help would be greatly appreciated,
AHP