Good evening I continue, passing my system from Vb to C #, now I have this error in this conversion, I visualized it in this way:
Dim aoRow As dsmstpsnal.GetDetaPsnal01Row = CType(CType(e.Row, DataRowView).Row, dsmstpsnal.GetDetaPsnal01Row)
And the result once the conversion was obtained, I had it that way
e.Value = cInt(aoRow.IDCODEMP )
Now I did the following in C #
dshojasadmision.tblAdmonClienteRow CustRow = (dshojasadmision.tblAdmonClienteRow)e.Row;
e.Value = CustRow.FechaNacimiento;
I get a conversion error that is the following,
System.InvalidCastException was unhandled by user code
HResult = -2147467262 Message = Unable to convert an object of type 'System.Data.DataRowView' to the type 'tblAdmonClienteRow'.
How is the code in C#
if it exists?