Click here to Skip to main content
15,921,577 members

Comments by Member 10704857 (Top 3 by date)

Member 10704857 2-Jun-15 2:07am View    
Thanks for your guidance Raul.
Member 10704857 2-Jun-15 1:50am View    
how do it works?

please explain
Member 10704857 2-Jun-15 1:36am View    
I have tried this:

for (int x = 0; x < dtform.Rows.Count; x++)
{

decimal sub = decimal.Parse(dtform.Rows[x][3].ToString());


DGV1.Rows[x].Cells["A"].Value = Decimal.Round(sub);
}
the output is
A 99
B 7
C 101

I don't want this I would like set output with two decimal only