Home All Groups Group Topic Archive Search About

Dataset Column reordering

Author
6 Apr 2006 1:44 PM
Jeppe Jespersen
I have designed a dataset in the VS2005 Dataset Designer. It holds a few
datatable objects.

I would like to change the ordering of the columns within each dataTable.
Why, you ask?

The dataset is used in a VSTO costumization of an Excel workbook, and data
is listed using Excel List controls. This control does not allow for
defining the "list" column order, so only option is to change dataTable
column order. (...or design and code the dataset from the ground up, which I
do NOT want to do.....)

So, to my question(s):  A dataset is just code, right? Where is the column
order defined, and how? And how then can I change the order of the columns
in the source-code, 'cause it doesn't look like the designer will let me.

Jeppe Jespersen
Denmark

AddThis Social Bookmark Button