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();
相关文章
- 10-04sql 语句随机时间存储过程
- 10-04mybatis动态sql语句学习
- 10-04SQL更新语句,Error Code: 1175. You are using safe update(在进行视图更新的时候遇到)
- 10-04关于fiddle抓包sql语句应用
- 10-04sql语句中BEGIN TRAN...COMMIT TRAN
- 10-04SqlServer2008R2执行Sql语句,快捷键
- 10-04sql里的in对应linq的写法 及 IQueryable转化为Dictionary
- 10-04jpa命名规则 jpa使用sql语句 @Query
- 10-04不需要写Sql语句的Mybatis工具:Tkmybatis
- 10-04MyBatis绑定Mapper接口参数到Mapper映射文件sql语句参数