以下三種方法: *手動建立ViewModel *建立SQL的View,並且關聯好,用ADO精靈自動產生Model *在controller層,將另一個model存在viewbag傳到view層
確定! 回上一頁