h开发者_JAVA技巧ow to add a Value parameter for DropDownList list item in code (use C#/ASP.NET/SharePoint)?
Value is a property on the ListItem class you can set it as any other property:
item.Value = "your value";
DropDownList1.Items.Add(new ListItem("item 1", "Item 1 Value"));
Please refer here
精彩评论