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!

Resource .dll:s and database data in server controls

Status
Not open for further replies.

gny

Programmer
Jun 3, 2001
116
SE
I'm new at .NET and building my first site, so I'm wondering if there's a nice way of using resource dll:s for data display in, for example, a server side DropDownList control.

Here's what I would like to do:
I store some product category data in a database and want to let the user choose items from it and add the id:s to other tables and so on. But I want the name displayed in the dropdown to be fetched by a ResourceManager that I have.

Since it seems ASP.NET doesn't let me have control over the rendering of the dropdown list, how do I insert the values I want from the ResourceManager? Is there a pretty way of doing it?

Thanks
 
Hmm, never mind.
I think adding items with .Items.Add will do the trick.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top