4
Answers

How to add percentage symbol(%)

Nova

Nova

6y
3.3k
1
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)