I was just trying to get some feedback as to the simplest way to do this (as the dataset has some update methods and such built in). I realize I can dynamically create a SQL table by looping through the Dataset's table collection and create columns based on the first row of the Dataset. Then just build up a dynamic CREATE TABLE string, and when complete, pass it to a sproc and execute the string as dynamic SQL.
Any code would be helpful though.
Main Topics
Browse All Topics





by: iboutchkinePosted on 2003-07-15 at 11:40:54ID: 8927983
Did you try SQL statement Create table?