How to insert 'Empty' field in ComboBox bound to DataTable

后端 未结 13 1443
谎友^
谎友^ 2020-12-14 09:07

I have a combo box on a WinForms app in which an item may be selected, but it is not mandatory. I therefore need an \'Empty\' first item to indicate that no value has been s

13条回答
  •  心在旅途
    2020-12-14 09:24

    insert a blank row in your datatable, and check for it in validation/update/create

提交回复
热议问题