add empty item to combobox

  • Thread starter Thread starter joe
  • Start date Start date
J

joe

Hi all,

new to netCF ... i hope this is an easy question.
I am populating a combobox using DataView, however,
i want to add an empty item in the first index so
the user can select nothing. This is how i populate
my combobox:

Dim dv As DataView = m_ds.Tables("Account").DefaultView
cmbAccount.DataSource = dv
cmbAccount.DisplayMember = "accountName"

tia,
joe
 
Could you add an entry using a single space? It would basically look like
it was empty.
 
Back
Top