Yeah, I'm working on flattening your table so that you get something like
Pref1 Pref2 Pref3 Pref4
User1 1 0 0 1
User2 0 1 1 1
Maybe there's some smart SQL guy out there who already has that. I'm trying to use a cursor to loop through the preferences... you know what, I need to make a temp table, insert the values into it and return that!
So you set your GridView to autogenerate the columns and boom.
Actually, I'll write a sp to generate a table-valued function that you can use as your datasource. I know it seems like a lot of work but we just refactored a HUGE project here and we're checking into SourceSafe... and that's vvvveeeerrrrryyyyy ssssslllllloooooowwwwwwwwwwwwwww.....
And we can't do anything until its all done and this is interesting.
May all your posts be enlightening...
Charlie Asbornsen
Dont forget to click "Mark as Answer" on the post that helped you.
This credits that member, earns you a point and marks your thread as Resolved so we will all know you have been helped.