Cannot infer an element type because more than one type is possible. Specifying the type of the array might correct this error

can you help me in add data row activity

try following
new Object(){ATKT,Total, Percentage, Grade, Remark }

15 Likes

@ppr, do you know why is this error occurring. I started seeing it now with the recent version. I don’t remember having any problem in the past.

It is not really an error. The other target framework is more strict than the legacy target framework from the past. As within a compilation process, a clear data type is to derive, we do now take care of this and do specify it explicitly.

Migrations Sets: [InfoSet] - LegacyToWindows Migration # Information Index

1 Like

En mi caso esta fue la solución gracias

Same, this worked for me