Gets or sets the property used to update the associated grid column.
[Visual Basic]
Public Property ValueMember As String
[C#]
public string ValueMember {get;set;}
[Delphi]
public property ValueMember: String read get_ValueMember write set_ValueMember;
Example
Suppose one of the columns in your grid contains the last name of each of your customers. In the following code, the LastName column will be used to update the grid:
Me.C1TrueDBDropdown1.ValueMember = "LastName"
· C#
this.c1TrueDBDropdown1.ValueMember = "LastName";
· Delphi
Self.C1TrueDBDropdown1.ValueMember := 'LastName';
See Also
C1TrueDBDropdown Class | C1TrueDBDropdown Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |