You cannot convert datatable to dataset. Dataset is a container which can hold many datatables.
You can create new dataset and add your datatable to it.
DataSet ds=new DataSet();
here dt is my datatable.
Thanks & Regards,
Please mark this answer as accepted answer if it resolves your problem.