Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
995
xamComboEditor csv text
posted

Hi,

I have a a xamComboEditor bound to a datatable populated via sql.  It is setup to be multiselect and visually is perfect.  I need to pass the comma separate string to a function but cannot see how to get to it.

Is there something similar to .text or do i need to loop through the selecteditems?

regards,

Pfecher

Parents
No Data
Reply
  • 995
    posted

    after spending more time than expected we resorted to the below loop.

    Dim finalValue As String = ""

    For Each row As DataRowView In xamComboEditor2.SelectedItems

            Dim currentValue As String = row.Item(0).ToString()

                finalValue += currentValue +","   

    Next

            finalValue = finalValue.Remove(finalValue.Length - 1)

Children