I have created one MVC3 application.
In which I’m selecting two Ids from two different tables
which i need to map and need to save somewhere temporary and want to display at the end.
I have taken two dropdownlist each one populated from one-one table. then i need to select one id from one and other from 2nd table when i clicked on map button it should have to create one temp table will show me two (values)columns what i have mapped just. how can i create temp table? using EF.
table1
SELECT PriceID
FROM Pricing
PriceID
P111
P222
P333
table2
SELECT QueryID
FROM QueryTable
QueryID
Q565UUU
Q661YAA
Q421933
now i’m not getting how can I show them to select one-one Ids from each to map them together any help?
Mapped dataset or any temptable will have two columns
PriceID QueryID
P111 Q565UUU
I’m newbie in MVC3 what should I take to show single columns ?
Please help need to create the UI so that one can easily select SecurityID and CUSIP from each table and map to each other..
what should i use?
Create a new model and populate it with your data and then use that model in your view:
in your view:
I hope I have understood your question correctly and that this helps.