Nova

Nova

  • NA
  • 13
  • 11.8k

How to add percentage symbol(%)

Mar 23 2018 1:47 AM
Hi Frnds,
 
I wan to add % symbol as suffix in percentage column value in datatable in C# code.
 
I already tried with:
 
foreach (DataRow drow in dt.Rows)
{
drow["PER"] = string.Concat(drow.Field<decimal>("PER"), "%");
}
 
Here my PER column was in decimal value . I can't concat the values. Anyone please help to resolve the issue.
 
Thanks in Advance.

Answers (4)