Click here to Skip to main content
15,905,607 members

Comments by KergalBerlin (Top 7 by date)

KergalBerlin 3-Sep-14 11:24am View    
I got your solution the first time and did not particularly like it back then, I also understood your point about matrices - and never disagreed on that, but seriously I am starting to get mad about myself for still reading and commenting on your responses. You are simply trying to make fun of someone who maybe is or is not as good a programmer as you are. I will therefore no longer attend this thread and would politely ask you to not answer any of my questions anymore, we apparently do not harmonise very well.

PS : If you would maybe once read one of the comments I wrote, you would see that your responded to a question I had solved and updated already. Therefore your solution - best intentions assumed - was of no direct use.

Thank you.
KergalBerlin 2-Sep-14 18:13pm View    
posted that one before I read your answer.
Thruth be told, I felt that Sergey Kryukov was trolling me in the other thread and I wanted to avoid "fun" responses and confusion. Besides, I feel I phrased my question better this time.
KergalBerlin 2-Sep-14 17:50pm View    
I might give that a shot - I have not worked with INotifyPropertyChanged yet.
Thanks.
KergalBerlin 2-Sep-14 17:31pm View    
Please don't take this the wrong way, but what is the purpose of your responses?

The phrase "not only always NxM it will always be 3x3" cleary implies that 3x3 is the less general case. With the sentence before I am clearly going one step further . I do not only say " it is a rectangular array" i explicitly state that is not only a rectangular one,but even a quadratic one typed to a jagged array - AND AGAIN -to my best knowledge- LINQ TO OBJECT cannot (or at least not easily) be used with rectangular arrays of type string[,]. THIS is a -> jagged array string[][] and in my case it consists of 3 arrays with 3 fields.

Please do not reply unless you have something valuable to add.
In case I missunderstand your responses and you are not trolling, please accept my apoligies.

-DK
KergalBerlin 2-Sep-14 16:21pm View    
the data is not only always NxM it will always be 3x3 . As mentioned the only reason the array is of type string[][] and not string[,] is the LINQ compatability.

Thanks for the list of lists idea - got that part down already as mentioned in the previous post.

Can you help me with one more thing?
Every 15 minutes I expect to receive new data (again I will transform that data to 3x3) and simply update my DataSource . I would like to track changes in the cells of the datagridview though.

Example :
old gridview Foo0, Moo0, Baa0
Foo1, Moo1, Baa1
Foo2, Moo2, Baa2

newgridview Foo0, Moo0, Baa0
Foo1, CHANGE, Baa1
Foo2, Moo2, Baa2

--> now I want to highlight and fade the background color of the cell with the changed text. Without the datasource I could simply use the CellValueChanged event - that does not work with the datasource though.

Any idea how I can acquire the row and column index of the changed cell ?