Hema Neelagiri

Hema Neelagiri

  • NA
  • 24
  • 1.4k

Lightswitch multi select dropdown

Feb 20 2017 2:34 AM
hi
i am new to lightswitch.  
 
i have three tables.
table1
----- 
Id
start
startedtime 
 
table2 
----
id
t2Name
 
table3
----
id
t1id (one)
t2id (multiple)
 
here there is a relation between three tables, one to many
it means for each t1id there can be multiple t2id in table3
 
 
in table3 add/edit screen i am displaying a dropdown and one messages, when user selects from drop down and clicks save button,
1) i want to add one record in table1 with timestamp and get that id
2) save the data in table3 with selcted dropdown value and with the above id 
 
so for this i am inserting record in table 1 and getting id and saving data into table3  in tab3_inserting  method
 
but here there is one to many relationship is there so, i want to provide multi select dropdown and while saving i want to loop with slected values and save in table3 
 
can please any body help me how to create multiselect dropdown, it will help me alot
 
Thanks in advance.
 
 
 
 
 
 
 
 
 
 
 
 

Answers (5)