Note that there are some explanatory texts on larger screens.

plurals
  1. USSoumya
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. CO----Continuation to above comment--- So to accomplish this,I was storing the list of data, binding to grid in needsource event, to a session variable .on button click,I was trying to create another list with calculated values for each grid column.So in this case I think count of items in both list will be the same.Correct me if I am wrong. Finally I need to push in the values from second list to the relevant fields of first list and bind the grid with final list(which will be teacher list will all the fields).
      singulars
    2. COThanks Alexei for the reply. My requirement is to populate a radgrid with a list.First time the radgrid is binded with list (as I told in my example as Teacher which has all the fileds in my grid) in needsource event. Secondly on clicking a button,I need to update some columns with some calculated values (eg :hra,basic) in the grid.
      singulars
    3. COThanks for the answers. I have given the variables as an example in my question. I have tried salary.AddRange(teachers.Select(s=>new Salary{Basic=s.Basic, hra=s.hra})); in my program. But it is appending the salary details as another item in the teacher list. My requirement is to add salary details in existing items in teacher list. Hope my question is clear.Please guide me on this Example : Teacher list : alice,30 Antony,35 Sunil,40 Now I need to have the list as :adding salary components also alice,30,5000,2000 Antony,35,6000,3000 Sunil,40,7000,2500
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload