Hi everyone.
I encountered a weirdest problem. Every time i databaind a dataset to the
grid it reorders the columns.

Any ideas????

Thanks a lot!

Re: Datagrid reorders columns on Databind by Rad

Rad
Fri Mar 02 18:34:39 CST 2007

On Fri, 2 Mar 2007 13:18:44 -0600, LQQKIN wrote:

> Hi everyone.
> I encountered a weirdest problem. Every time i databaind a dataset to the
> grid it reorders the columns.
>
> Any ideas????
>
> Thanks a lot!

Are you automatically generating the columns?
--
Bits.Bytes
http://bytes.thinkersroom.com

Re: Datagrid reorders columns on Databind by LQQKIN

LQQKIN
Fri Mar 02 22:31:51 CST 2007

I have them predefined in the designer. I changed the order of the columns
coming out of SP and it seems to work, but thats not the best way to do it.

Thanks for yuour help!


"Rad [Visual C# MVP]" <nospam@nospam.com> wrote in message
news:kkcxh47n1yua.dlg@thinkersroom.com...
> On Fri, 2 Mar 2007 13:18:44 -0600, LQQKIN wrote:
>
>> Hi everyone.
>> I encountered a weirdest problem. Every time i databaind a dataset to the
>> grid it reorders the columns.
>>
>> Any ideas????
>>
>> Thanks a lot!
>
> Are you automatically generating the columns?
> --
> Bits.Bytes
> http://bytes.thinkersroom.com