MVC Demo 增刪查改

本實例使用Linq to sql. DB所需要的表:1.Product,2.Category 如下圖 1.先創建列表頁面 先創建Index 的Control,在Control文件夾下創建ProductControl 文件(在這之前你要使用Linq to sql 創建TestDB文件與DB通信,我這裏使用的數據庫是Test,並將Product,category 添加到TestDB.dbml文件中)
相關文章
相關標籤/搜索