摘要: 建立数据模型之后,尝试着写下面这样的一个测试类: 1 using System; 2 using NorthwindModel; 3 4 public partial class DerivedObjectContext : System.Web.UI.Page { 5 protected void Page_Load(object sender, EventArgs e) { 6 NorthwindEntities db = new NorthwindEntities(); 7 8 GridView1.DataSource = db.Product... 阅读全文
posted @ 2013-05-07 21:36 张楠0412 阅读(1392) 评论(0) 推荐(0) 编辑