asp.net mvc - Hidden Field VS Database Call -
i have query joins many tables (and time consuming) , returns data view. later want pass data view view. know can use form hidden fields pass data, or re-query database in controller of second view.
i wondering if there "preferred" way of doing far efficiency , performance concerned. better pass data view controller using hidden fields? or better re-query database in controller data?
hidden fields pretty always faster database hit. should leverage use of them when can, re-querying database 1 of main benefits of using hidden fields.