<snip>
> Thanks for you help but im still lost so ill think ill stick to what i
> know for the time being and stop trying to use to stuff
If you're reasonably new to C#, I'd definitely steer clear of LINQ just
for the moment. It's a *fantastic* technology, but you need to be
confident in the foundations first.
> If i dont convert.tostring the key i get this warning message..
>
> Warning 1 Possible unintended reference comparison; to get a value
> comparison, cast the right hand side to type 'string'
That suggests you're not using the type I thought you were... I was
looking at this documentation:
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/I
nfragistics2.Win.UltraWinListView.v7.3
~Infragistics.Win.UltraWinListView.UltraListViewItem~Key.html
which suggests that the Key property is of type "string". If you hover
over the use of the Key property in Visual Studio, what does it say?

Signature
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
World class .NET training in the UK: http://iterativetraining.co.uk