I'm attempting to designate these tables as static DataTables, but I'm encountering issues utilizing this data in another class. Ultimately, I aim to integrate this functionality with Reporting Viewer. Could someone kindly offer assistance? Thank you.
Alright everyone,
I've found the solution to the problem. It turns out that we can't directly set a DataTable in a DataSet as static. However, when utilizing this DataSet in another Form, like in ReportViewer, a new DataSet element is created in the Form.
To resolve this, simply follow these steps:
By doing this, you'll be able to access the DataSet and its tables from any class without any issues.