回覆列表
  • 1 # 使用者7942249073509

    你用的什麼做的資料來源? 如果是DataSet.在定義System.Web.UI.HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite); 後, 不需要GridView1.AllowPaging = false; 。 定義一個Datagrid dg=new DataGrid();//介面卡Fill的時候記得寫表名adp.Fill(ds,"表名");dg.DataSource=ds.Tables["表名"] ;dg.DataBind();然後輸出如果是資料控制元件做的資料來源:DataGrid dg=new DataGird();dg.DataSource=SqlDataSource1.Select(DataSourceSelectArguments.Empty);dg.DataBind();然後輸出

  • 中秋節和大豐收的關聯?
  • 哲學裡上層建築中的意識形態指什麼?是物質還是意識?