日期:2014-05-17 浏览次数:20823 次
DataTable dt = new DataTable();
DataRow dr;
DataColumn dc = new DataColumn();
dc.DataType = System.Type.GetType("System.String");
dc.ColumnName = "条件集合";
dt.Columns.Add(dc);
dr = dt.NewRow();
dr[0] = "ddddd";
dt.Rows.Add(dr);
GridView1.DataSource = new DataView(dt);
GridView1.DataBind();