SQL SERVER为本机,数据库:test ,用户:sa 密码:test_009表为:tbl_qgdq  字段有ID,FMC,MC文件名有webForm1.aspx  WebForm1.aspx.cs
后面一个是什么文件?要告诉我代码分别是放在哪个文件里的?

解决方案 »

  1.   

    http://chs.gotdotnet.com/quickstart/aspplus/
      

  2.   

    http://chs.gotdotnet.com/quickstart/aspplus/doc/webdatabinding.aspx
      

  3.   

    要告诉我代码分别是放在哪个文件里的?
    ---------
    代码分前台和后台的,建议先看一些基础的书先,下面是个很好的实例:_
    http://dotnet.aspx.cc/ShowDetail.aspx?id=B12283DE-DB20-4322-ACCC-12724442808A
      

  4.   

    后一个是编码的地方,如果用DataGrid显示的话,直接用.net画不就可以了this.dataGrid1.DataMember = "";
    this.dataGrid1.DataSource = //数据源;
    this.dataGrid1.Dock = System.Windows.Forms.DockStyle.Fill;
    this.dataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText;
    this.dataGrid1.Location = new System.Drawing.Point(0, 0);
    this.dataGrid1.Name = "自己起个名字";
    this.dataGrid1.Size = new System.Drawing.Size(大小);
    this.dataGrid1.TabIndex = 0;