ComponentOne ComboBox for ASP.NET Web Forms
C1.Web.Wijmo.Controls.4 Assembly / C1.Web.Wijmo.Controls.C1ComboBox Namespace / C1ComboBox Class / DataTextFormatString Property
Example

In This Topic
    DataTextFormatString Property
    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