ComponentOne AppView for ASP.NET WebForms
C1.Web.Wijmo.Controls.45 Assembly / C1.Web.Wijmo.Controls.C1ComboBox Namespace / C1ComboBox Class / DataTextFormatString Property
Example

In This Topic
    DataTextFormatString Property (C1ComboBox)
    In This Topic
    The formatting applied to the text field. For example,"{0:d}".
    Syntax
    'Declaration
     
    Public Property DataTextFormatString As System.String
    public System.string DataTextFormatString {get; set;}
    Example
    C1ComboBox c = new C1ComboBox();
    c.DataSource = data;
    c.DataTextField = "textField";
    c.DataValueField = "valueField";
    c.DataBind();
    See Also