Click here to Skip to main content
15,902,114 members

Comments by Mario Van Deventer (Top 6 by date)

Mario Van Deventer 2-Jul-15 9:18am View    
Perfect :)
Thank you so much

Just what it needed.

Can i borrow your Brain for a week or so ?
Mario Van Deventer 14-Jun-15 3:40am View    
Hi Macie
the code is working very well and i had to DO a "MACGUYVER" to get it to work
My DGV is unbound and it only works with Databound DGV.
So i saved the unbound to temp textfile and then bound a new DGV to the textfile
now it works..

But it wont read the value as DOUBLE so i had to use STRING.
Now it only returns the STRING and not the decimal.
I even saved the initial values as double but no luck.

your code : Key .Value = g.Sum(Function(a) a.Field(Of Double)("Value")) _

my Code: Key .Value = g.Sum(Function(a) a.Field(Of String)("Value")) _

returns: 450
should return: 449.50

Any suggestions ?
Mario Van Deventer 8-Jun-15 12:27pm View    
AWESOME
I work on visual studio 2010 but managed to copy the module and form code to my app.
modified it a bit and its perfect.

thank you so much for all the help.

Keep well
Mario
Mario Van Deventer 8-Jun-15 9:20am View    
Hi Maciej

you are a star thank you :)
Mario Van Deventer 4-Jun-15 11:16am View    
Hi Maciej
Thank you for the help.
The above code you gave me..
It should work? right
Im just wondering if im doing something wrong
because it returns nothing on Datagridview2

i have been taking time reading up on LINQ .. pretty cool
but not sure where to start.
getting back to the code you sent me: have you tested it?
i cant get it to work.
please help .. :)
If im being a pain just tell me to find a solution... LOL

thanks a stack