C
CM16
Guest
Hi. Firstly happy new year and thanks for your attention.
I need to travel a datagridviewrow and depending of the content of a cell, change the backcolor (if this is less than cero, make it red). I did it very times, but now this datagridview contais a lot of registry. I was thinking how is the better way to make it, how get the best performance on my system.
Is it better for the system to compare between 1 and 0 on a Cell ** or use the <> operators?
(** I might to make this comparation on sql Server, my database, an write 1 if it is less than 0 and not load the work to any WorkStation.)
IS it better use: For x=0 to datagridview.rowcount.... for each row as datagridviewrow... do while count < datagridview.rowcount
How i can to know the best operators to use en any time. Exist any tool to make it?
I hope that you can helpme.
Thanks again.
Continue reading...
I need to travel a datagridviewrow and depending of the content of a cell, change the backcolor (if this is less than cero, make it red). I did it very times, but now this datagridview contais a lot of registry. I was thinking how is the better way to make it, how get the best performance on my system.
Is it better for the system to compare between 1 and 0 on a Cell ** or use the <> operators?
(** I might to make this comparation on sql Server, my database, an write 1 if it is less than 0 and not load the work to any WorkStation.)
IS it better use: For x=0 to datagridview.rowcount.... for each row as datagridviewrow... do while count < datagridview.rowcount
How i can to know the best operators to use en any time. Exist any tool to make it?
I hope that you can helpme.
Thanks again.
Continue reading...