Hi,
I have a DataTable dt; withe following data
EmpNo |
EmpName |
Gross Salary |
NetSalary |
111 |
ramesh |
222.3456 |
332.459 |
222 |
kranthi |
1234.345 |
440.566 |
and i am doing like
radgrid1.datasource=dt;
radgrid1.DataBind();
And i am Expecting the output like
EmpNo |
EmpName |
Gross Salary |
NetSalary |
111 |
ramesh |
222.35 |
332.46 |
222 |
kranthi |
1234.35 |
440.57 |
i.e, Here Gross Salary and Net Salary should be rounded to two decimals, but EmpNo shoulbe as it is.
In which event i have to write and code as well.
Myexpectation is ColumnName wise changing should be done. And here the columns always not be same. Everything should be done depending on ColumnNames only.
Can anyone please help me....
Thanks in advance
Kranthiu