Raul Juarez

Raul Juarez

  • NA
  • 43
  • 0

Populate drop down menue from a collection

Nov 9 2009 11:54 PM

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)