"Cor Ligthert" <no************@planet.nl> wrote in
news:uV**************@TK2MSFTNGP15.phx.gbl:
You called the sample I gave you, what can be written in a lot of other
ways, a Boeing 747
DataRowView xDRV =
((DataView)dataGrid1.DataSource)[((CurrencyManager)BindingContext
[dataGrid1.DataSource]).Position];
And show us now this sample which is in fact not so different
DataRowView xDRV =
(DataRowView)((CurrencyManager)dataGrid1.BindingCo ntext
[dataGrid1.DataSource, dataGrid1.DataMember]).Current;
You are an expert in flying of course, what will you tell what kind of
plane this sample is?
One is a 747 and one is an MD-11. :)
Neither is easy like it should be. Theres nothing "wrong" with either one.
Both are extraordinarily too much work to just get a row. We have two
planes airborne - but we're in need of a car....
I think you still missed what I meant when I said a 747. I was saying that
wat I should be taking is a car to get milk - but getting the current row
is like having to fly a 747 to the store because thats what it feels like
in .NET - but the task I want to do SHOULD be simple but its not.
Ive had but 2 hours sleep in about 3 - but offhande you still need to add
..Row to the both above..?
--
Chad Z. Hower (a.k.a. Kudzu) -
http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Empower ASP.NET with IntraWeb
http://www.atozed.com/IntraWeb/