Why bother with the DataSet if you just want a DataTable then just do this:
SqlDataAdapter da;
da=new SqlDataAdapter("Select * from emp",cn);
DataTable dt;
da.Fill(dt);
DataRow drr;
hollystyles
Veteran Poster
1,182 posts since Feb 2005
Reputation Points: 262
Solved Threads: 68