Table 1:
ID
1
2
3
4
5
6
7
8
9
0
I have to create dropdowns called MasterID & ChildID out of this ID column. MasterID & ChildID will have ID column values based on mapping. Mapping process will be like any values from the ID column can be MasterID or ChildID. But MasterID will have unique
ChildID.
Note:
While binding MasterID and ChildID dropdowns it will have ID values on pageload. Once mapping starts then the values should come accordingly. Also I have a Add button in my page and once I select values in two dropdowns and add then they will get saved in
the DB. For ex: If I select the ID value 1 in MasterID and 5 in ChildID and add them to DB, then the next time the value 1 from ID column can come in MasterID dropdown but not in ChildID. Also the value 5 from ID column is mapped to ChildID and saved, where
this value should not appear in MasterID and ChildID dropdowns. Once any value becomes the child, it shouldn't get ...
Go to the complete details ...