标签:
DataClassesDataContext db = new DataClassesDataContext();
db.Log=Response.Output;
var result = from de in db.Department
where de.DepartmentParentID == 9
select de;
GridView1.DataSource = result;
GridView1.DataBind();
标签:
原文地址:http://www.cnblogs.com/xiaoshi518/p/4676532.html