In WindowsForms you can accomplish this by adding a TableStyle to your grid
and putting column definitions in this TableStyle. You can do this quit easy
in the designer.
"Garry Newman" <anonymous@disc ussions.microso ft.com> wrote in message
news:08a601c3bf 11$2e662060$a40 1280a@phx.gbl.. .[color=blue]
> As in how can I manually arrange the order of the fields
> in my datagrid so that they appear the way I want, not
> alphabetical ?
>
> G.N[/color]
Ken
-------------------------------
"Garry Newman" <anonymous@disc ussions.microso ft.com> wrote in message
news:08a601c3bf 11$2e662060$a40 1280a@phx.gbl.. .[color=blue]
> As in how can I manually arrange the order of the fields
> in my datagrid so that they appear the way I want, not
> alphabetical ?
>
> G.N[/color]
ok I've added a tablestyle to the DataGrid and then added
my fields (in the order I want) as memebers of the
DataGridColumnS tyleCollection by setting the Mapping Name
property to the relevant field in my table, but this
doesn't make any difference to the order at runtime, so
I've either missed a step or set the wrong property ???
"Garry Newman" <anonymous@disc ussions.microso ft.com> wrote in message
news:0a9c01c3bf 16$88779570$a30 1280a@phx.gbl.. .[color=blue]
> ok I've added a tablestyle to the DataGrid and then added
> my fields (in the order I want) as memebers of the
> DataGridColumnS tyleCollection by setting the Mapping Name
> property to the relevant field in my table, but this
> doesn't make any difference to the order at runtime, so
> I've either missed a step or set the wrong property ???
>
> any ideas
>
> Thanks G.N[/color]
I made two extremely stupid mistakes the first was not to
give the column headers names and the second was not to
fill the dataset these events resulted in instant
confusion and bewilderment
Comment