[Solved] ERROR: Cannot convert method group ‘CopyToDataTable’ to non-delegate type ‘System.Data.DataTable’. Did you intend to invoke the method?


CopyToDataTable is a method, you need to add the parenthesys to the method name

dtChoice_2 = dtChoice.Select("QuestionID = '" + QNo + "'").CopyToDataTable();
                                                                           ^^^

2

solved ERROR: Cannot convert method group ‘CopyToDataTable’ to non-delegate type ‘System.Data.DataTable’. Did you intend to invoke the method?