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();
ds.Tables.Add(dt);
here dt is my datatable.
Thanks & Regards,
Santhosh
Please mark this answer as accepted answer if it resolves your problem.