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
710
Select Row
posted

Friends, i have a form, and i have a wingrid, I have formed the grid in order that when of click on a cell the complete row is selected, I have also a variable of type varietyEntity,howI can turn the row selected in a type varietyEntity, In wpf I was doing something as this

vCliente = ((DataRecord)this.grdClientes.ActiveRecord).DataItem as cliente;

But i try with this

v = ugVariedades.Rows[0] as variedad;

And i have this error

 No se puede convertir el tipo 'Infragistics.Win.UltraWinGrid.UltraGridRow' en 'Entidades.variedad'

Other cuestion, In that event is the one that controls the change of row??