Error BC30512: Option Strict On cannot implicitly convert 'DataTable Collection

Error 오류 유효성 검사 오류 BC30512: Option Strict On에서는 'DataTableCollection’에서 ‘IEnumerable(Of DataTable)’(으)로 암시적으로 변환할 수 없습니다. 선택한 값이 속성 형식과 호환되지 않습니다. 라는 구문이 뜹니다. 혹시 해결 방법이 있을까요?

@22222222asas

dataSet.Tables(0)
then it will not raise an error

or use
Dataset.Tables
and the for each to iterate

Thank you very much for your reply. but (0)A different error appears when you do .

Error Validation Error BC30652: No reference found for assembly ‘System.Xml.ReaderWriter, Version=6.0.0, Culture=neural, PublicKeyToken=b03f5f7f11d50a3a’ containing format ‘IXmlSerializable’. Add it to the project. Main.xaml

Hi @22222222asas

Use this:
dataSet.Tables(2)

Hope it helps!!

@22222222asas

Instead Parallel for each use Normal for each

Thank you very much for your quick response.
I changed it to for each. But there’s an error. Help me Nice people

Error Validation Error BC30512: Option Strict On cannot implicitly convert from ‘Object’ to ‘DataTable’. The selected value is incompatible with the property type. Main.xaml

Thank you very much for your quick response.
I changed it to for each. But there’s an error. Help me Nice people

Error Validation Error BC30512: Option Strict On cannot implicitly convert from ‘Object’ to ‘DataTable’. The selected value is incompatible with the property type. Main.xaml