hi all of you,
Code-behind:
Me.DatosPanel1.Items.Clear() newClient = New clsClientes() For Each dr As DataRow In newClient.DevuelveTablasPaneles().Rows Me.DatosPanel1.Items.Add(dr.Item("DESCRIPCION").ToString.Trim) Next
Ok, it does work fine.
But I would need to fill with the same data other 7 combobox.. in the same XAML view.
How can I do that without calling again my class method "DevuelveTablasPaneles" which -obviously- call to my Sql Server Database??
I've tested this without succesful results:
Me.DatosPanel2.Items.Add(Me.DatosPanel1.Items)
Thanks in advance for your comments,
Primary platform is Windows 7 Ultimate 64 bit along with VS 2012/Sql2k8 for WPF/SilverLight projects.