Getting the following error while initialising datarow

Getting the following error while initialising datarow.

@shikharno.7

What you crated is an array of datarow and not list of datarow

cheers

Hi @shikharno.7

Change the dataType of deleteListCollection from DataRow[] to System.Collections.Generic.List(System.Data.DataRow)

This should solve your error.

Regards

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.