Hi
I am working with a bindingsource, but I need its items to be in a random order. Anyone know how to change the order of the items in a bindingsource?
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Sam HobbsRank #107 · 20.5K reputationPosted Feb 13, 2010, 2:18 PM EST
Fredrik Roaldset26 reputationPosted Feb 13, 2010, 3:48 PM EST
I am fairly new at this, so I'm sorry if I am a bit unclear.
Sam HobbsRank #107 · 20.5K reputationPosted Feb 13, 2010, 6:53 PM EST
What is the bindingsource? Is it a SQL Server table? Did you use the Data Sources window to create a data source and did you then drag the data source to the form or if not then how did you create the bindingsource?
If the data source is a table, then do you need to store the order in the table or do you need to show the items in random order each time without storing the order in the database?
What is the bindingsource for? Is it for a form? If so then what controls are using the bindingsource? Is the bindingsource used for a DataGridView or some other control such as that?
Fredrik Roaldset26 reputationPosted Feb 14, 2010, 9:04 AM EST
I have now found a solution to my problem. Thank you for your time anyway.