Skip to content
Loading
  • Manas Mohapatra
    0
    For one employee, it will have multiple records, right?
    Means if an employee subscribe 2 courses then it will have two records in EmployeeCourse table. But in your question it comma separated like 3,4.. please confirm.
    Secondly, what are the values you are getting inEdit(Cusomemp2 custom)
    0
  • 0
    1- Means if an employee subscribe 2 courses then it will have two records in EmployeeCourse table.
    yes it will have two records in EmployeeCourse table
    no comma separated it is two records
    2-what are the values you are getting inEdit(Cusomemp2 custom)
    it represent edit http post when i click in save button it must remove courses fromEmployeeCourse table
    i need here to loop within courses removed then removed from EmployeeCourse table and save changes
    0
  • 0
    can any one tell me how to solve that problem if possible
    0
  • Manas Mohapatra
    0
    In which column you want to store comma-separated value for employee-course ids.
    Secondly, what are the values you are getting in Cusomemp2 object in your method.
    0
  • 0
    In which column you want to store comma-separated value for employee-course ids.
    EmployeeCourse table in field CourseId and it is not comma separated every course represent one record
    what are the values you are getting in Cusomemp2 object in your method.
    empcourses and Id
    if you need to add any modification to my model Cusomemp2 i can accept that
    only i need to achieve this if possible
    0
  • 0
    can any one answer for me in this question if possible
    0
  • 0
    can any one help me in solving this issue if possible
    0