I have two different tables:
document_master
doc_id
cat_id
doc_name
category_master
cat_id
cat_name
cat_desc
I want cat_name in dropdown of view file document model.
I have created model called catmodel which contains details of category_master
. I have also created model of docmodel as well.
How I get category name in dropdown in view?