how do I resolve 'not all code paths return data'?

The problem is you’ve declared a return type of ‘DataSet’, but your function does not return a value. Either change the return type to void (which means no return type) or have your function return the correct type/value.

Browse More Popular Posts

Leave a Comment