hi i need to display 2 field (surname, name) in spinner "text" contactsSpinner:
DBUtils.ExecuteSpinner(SQLEvents, "SELECT surname, name FROM contacts", Null, 0, contactsSpinner)
contactsSpinner_ItemClick(1, contactsSpinner.GetItem(0))
>>> result: "SMITH"
i've tried:
DBUtils.ExecuteSpinner(SQLEvents, "SELECT surname + ' ' + name FROM contacts", Null, 0, contactsSpinner)
contactsSpinner_ItemClick(1, contactsSpinner.GetItem(0))
>>> result: "0" (and not "SMITH JOHN")
help..
DBUtils.ExecuteSpinner(SQLEvents, "SELECT surname, name FROM contacts", Null, 0, contactsSpinner)
contactsSpinner_ItemClick(1, contactsSpinner.GetItem(0))
>>> result: "SMITH"
i've tried:
DBUtils.ExecuteSpinner(SQLEvents, "SELECT surname + ' ' + name FROM contacts", Null, 0, contactsSpinner)
contactsSpinner_ItemClick(1, contactsSpinner.GetItem(0))
>>> result: "0" (and not "SMITH JOHN")
help..