ADDataSet.xsd文件名
ADDataSetTableAdapters.ADTableAdapter ad = new ADDataSetTableAdapters.ADTableAdapter();
ADDataSet.ADDataTable addt= ad.GetDataBy();
GridView1.DataSource = addt;
GridView1.DataBind();
ADDataSet.xsd文件名
ADDataSetTableAdapters.ADTableAdapter ad = new ADDataSetTableAdapters.ADTableAdapter();
ADDataSet.ADDataTable addt= ad.GetDataBy();
GridView1.DataSource = addt;
GridView1.DataBind();