Basu Biswas

Basu Biswas

  • NA
  • 55
  • 0

how can I store a hidden value with a combobox...

Jan 29 2007 11:03 PM

Hi,

    Hi can I store some hidden value like primary key of an item with a combobox.

Like in ASP.NET the DropDownList has DataTextField and DataValueField for text and value.

I am adding item to ComboBox like this :
 
      cmbBrowseCombo.Items.Add("item1");
      cmbBrowseCombo.Items.Add("item2");

How can i add a hidden value to each Item....

If possible do reply...

thank you...

 


Answers (2)