How to show default selected value of combobox in datagridview



    Hi All,

                 I am using VS05 + c# + Winforms . I have added combobox in datagridview and that combobox conatains some values.I want to show default value as "Select" in that combobox.How it is achieved?

            The detailed procedure in c# is apriciated.


    Thanks in advance.

    Thursday, June 19, 2008 5:42 AM


  • You can catch the RowsAdded event to set default values.
    For combobox, simply set its text property.

    Thursday, June 19, 2008 8:46 AM