How to change the perticular column values of RadGrid. RRS feed

  • Question

  • 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



    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


    • Changed type kranthiu Wednesday, December 12, 2012 6:46 AM
    • Moved by Mike Feng Friday, December 21, 2012 5:12 AM (From:Windows Forms Data Controls and Databinding)
    Tuesday, December 11, 2012 5:47 PM

All replies