I am creating a Web service that takes to input parameters and returns data in objects. I have created a class Sending which has many properties.
I am retrieving the data from a database and loading them into a datatable. I am using datatables because i there can be many rows and i need to create an object of the sending class for each row.
I have also created get and set properties for each variable in the sending class.
Is there any way to insert the data from the datatable into the class objects?