How can you name the Dataset’s Tables you return in a stored proc?

As far as I know, from the stored proc, you can’t do that. You can, however, set the names once you have retrieved the DataSet, and then use them from then on.

ds.Tables[0].TableName = "NametbA";

Leave a Comment