PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET Dataset Column reordering

Reply

Dataset Column reordering

 
Thread Tools Rate Thread
Old 06-04-2006, 02:44 PM   #1
Jeppe Jespersen
Guest
 
Posts: n/a
Default Dataset Column reordering


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


  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off