Hi,
I am new for mvc5. I have created company with list of companies and data is saving in db. I want to select particular company name to select in another view and it should be saved in db.
for example: I have 2 models called companymodel and Locationmodel
in companymodel contains some fields, and saved data in db and list, in that fields company name is there.
here I want to select company name in locationmodel create page by selecting from companymodel list page.
whenever I clicked on company field from locationmodel create page, company list page should popup and I can able to select company name from list of companies and that company name should be saved in db.
please give me some suggestions how can I do that. and share some videos if it's there.
And please let me know if you are not clear in my question.
Great thanks and regards,
Ali
What I have tried:
I have created company with list of companies and data is saving in db. I want to select particular company name to select in another view and it should be saved in db.
for example: I have 2 models called companymodel and Locationmodel
in companymodel contains some fields, and saved data in db and list, in that fields company name is there.
here I want to select company name in locationmodel create page by selecting from companymodel list page.
whenever I clicked on company field from locationmodel create page, company list page should popup and I can able to select company name from list of companies and that company name should be saved in db.
please give me some suggestions how can I do that. and share some videos if it's there.