C1.Web.Wijmo.Controls.C1ComboBox Namespace > C1ComboBox Class : DataValueField Property |
'Declaration
<System.ComponentModel.DefaultValueAttribute()> <C1CategoryAttribute("Data")> <C1DescriptionAttribute(Key="C1ComboBox.DataValueField", Description="Gets or sets the field in the data source from which to load item values.")> <LayoutAttribute(LayoutType.Misc)> Public Property DataValueField As System.String
[System.ComponentModel.DefaultValue()] [C1Category("Data")] [C1Description(Key="C1ComboBox.DataValueField", Description="Gets or sets the field in the data source from which to load item values.")] [Layout(LayoutType.Misc)] public System.string DataValueField {get; set;}
C1ComboBox c = new C1ComboBox(); c.DataSource = data; c.DataTextField = "textField"; c.DataValueField = "valueField"; c.DataBind();
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2