摘要:
二、现在,创建一个ASP.NET页面,然后在页面上加入一个GridView控件,使用下面的代码进行绑定数据: 1 using System.Data.Linq; 2 public partial class _Default : System.Web.UI.Page 3 { 4 protected void Page_Load(object sender, EventArgs e) 5 { 6 DataContext cxt = new DataContext("server = .;database = 'NorthWind' ;Integrated Secu... 阅读全文