OK, in it's simpest terms, I have a custom object (all string Items) which I add to a list of those items. The list is declared as a global variable. One form updates the list, another contains a dataGridView (vs.net 3.5) that displays the list items.

The view displays the correct data.

For some reason, if I select a header in the dgv before it's populated, that's fine, but if I select it (click anywhere with the mouse) it bugs out with an Index = -1 error from the System.Windows.Forms.CurrencyManager.get_Item(Int32 index) bit.

I'm on a tight deadline, noew to .Net, and REALLY need some help please

Welcome. Please show us your code work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.