谢谢

解决方案 »

  1.   

    web控件的table?????DataSet ds = new DataSet();
    this.DataGrid1.DataSource = ds.Tables[0];
      

  2.   

    我是用Web控件中的Table动态做了一个表
    然后想把这个表绑定到DataGrid
      

  3.   

    》我是用Web控件中的Table动态做了一个表
    》然后想把这个表绑定到DataGrid我想你应该是先生成一个DataTable对象,然后把这个DataTable绑定到DataGrid。
      

  4.   

    怎样把Table控件生成DataTable对象啊谢谢
      

  5.   

    请参考:
    http://chs.gotdotnet.com/quickstart/util/srcview.aspx?path=%2fquickstart%2faspplus%2fsamples%2fwebforms%2fDataBind%2fDataBind4.src另外,建议楼主多看:http://chs.gotdotnet.com/quickstart/default.aspx