Create Coulmns Dynamiclly with changed of values over time

2 posts, 0 answers
  1. Ane
    Ane avatar
    3 posts
    Member since:
    Aug 2016

    Posted 18 Sep 2016 Link to this post

    Hi there;

    I’m tryring to create a radGrid with data from database

    What I want to do that I already convert some rows to columns in the database query:


     NVL(MAX(DECODE (Z.ZONE , 'A', Z.n )),0) A,

     NVL(MAX(DECODE ( Z.ZONE , 'B', Z.n )),0)B,

     NVL(MAX(DECODE ( Z.ZONE , 'M', Z.n )),0) M

     FROM  ………………

    And I need to publish this data in a radgrid

    What is the problem?

    That this columns actually change over time, so I can’t keep them static


    My idea is to loop through this values(A,B,M,….) in c# code-behind  and  convert them to columns in a command string ? Is it possible to do so?

  2. Eyup
    Eyup avatar
    3962 posts

    Posted 21 Sep 2016 Link to this post

    Hello Afra,

    You can achieve this requirement using the implementation demonstrated in the following article:

    I hope this will prove helpful.

    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top