This can be done with reflection. For each member name find the the dataset column with the same name. Your reflection code will need to determine the data type, and call the proper conversion routine.
Here is a sample
You might be better off using an ORM library like dapper or entitity framework to begin with.