4
Answers

Populate drop down menue from a collection

Photo of Raul Juarez

Raul Juarez

15y
3.2k
1

Please need help to populate a dropdownlist with ProductName and ProductID. Please see the image to see what are the values in the collection.
protected void Page_Load(object sender, EventArgs e)
{string gender = drpGender.DataTextField;
ProductCollection productos = ProductCollection.GetbyGender(gender);
 
IMAGE:
http://www.vengalia.com/OBJECTToPopulate.jpg
 
 

Answers (4)