Try
ddss.Tables.Add(dt);
Using "Add" will work, you just don't have an actual dataset created yet.
Change
DataSet ddss;
to
DataSet ddss = new DataSet();
Without setting ddss to a new dataset (or one that's previously created), there's nothing to add the datatable to.