• 大小: 8.79M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: Linq  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Web.UI;
using System.Linq.expressions;

public partial class _Default : System.Web.UI.Page
{
    private OrderController controller = new OrderController();
    protected void Page_Load(object sender EventArgs e)
    {
        if (!IsPostBack)
        {
            Bindgrid(nullnull);
        }

    }

    public void Bindgrid(expression> whereqQuery QueryableOrderEntry order)
    {
        grid.DataSource = controller.GetOrders(grid.CurrentPageIndex grid.PageSize whereqQuery order);// 分页数目应该用分页控件,这里只是简单测试,所以偷个懒
        grid.DataBind();
    }

    protected void btnSearch_Click(object sender ImageClickEventArgs e)
    {
       
        Bindgrid(GetWhere() null);
        
    }

    public Exp

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       1902  2010-07-30 21:12  ComplexSerarchLINQ组合查询Demo\App_Code\Northwind.dbml

     文件        751  2010-07-30 21:12  ComplexSerarchLINQ组合查询Demo\App_Code\Northwind.dbml.layout

     文件      10673  2010-07-30 21:12  ComplexSerarchLINQ组合查询Demo\App_Code\Northwind.designer.cs

     文件       1572  2010-07-31 01:00  ComplexSerarchLINQ组合查询Demo\App_Code\OrderController.cs

     文件       1106  2010-07-30 22:48  ComplexSerarchLINQ组合查询Demo\App_Code\PredicateExtensions.cs

     文件        830  2010-07-31 00:00  ComplexSerarchLINQ组合查询Demo\App_Code\QueryableOrderEntry.cs

     文件      98304  2010-07-28 14:55  ComplexSerarchLINQ组合查询Demo\Bin\AspNetPager.dll

     文件         58  2010-07-30 21:30  ComplexSerarchLINQ组合查询Demo\Bin\AspNetPager.dll.refresh

     文件     561152  2010-04-12 15:41  ComplexSerarchLINQ组合查询Demo\Bin\Telerik.Web.Design.dll

     文件         72  2010-07-30 20:29  ComplexSerarchLINQ组合查询Demo\Bin\Telerik.Web.Design.dll.refresh

     文件   13874176  2010-04-12 15:42  ComplexSerarchLINQ组合查询Demo\Bin\Telerik.Web.UI.dll

     文件         64  2010-07-30 20:25  ComplexSerarchLINQ组合查询Demo\Bin\Telerik.Web.UI.dll.refresh

     文件    3441673  2010-04-12 15:41  ComplexSerarchLINQ组合查询Demo\Bin\Telerik.Web.UI.xml

     文件       6971  2010-07-31 01:06  ComplexSerarchLINQ组合查询Demo\Default.aspx

     文件       2331  2010-07-31 01:06  ComplexSerarchLINQ组合查询Demo\Default.aspx.cs

     文件        777  2010-07-30 21:01  ComplexSerarchLINQ组合查询Demo\image\ButtonSearch.png

     文件       1425  2010-07-30 20:17  ComplexSerarchLINQ组合查询Demo\image\Search.png

     文件      98304  2010-07-28 14:55  ComplexSerarchLINQ组合查询Demo\ReferenceDll\AspNetPager.dll

     文件     561152  2010-04-12 15:41  ComplexSerarchLINQ组合查询Demo\ReferenceDll\Telerik.Web.Design.dll

     文件   13874176  2010-04-12 15:42  ComplexSerarchLINQ组合查询Demo\ReferenceDll\Telerik.Web.UI.dll

     文件    3441673  2010-04-12 15:41  ComplexSerarchLINQ组合查询Demo\ReferenceDll\Telerik.Web.UI.xml

     文件       8581  2010-07-30 21:11  ComplexSerarchLINQ组合查询Demo\web.config

     目录          0  2010-07-31 01:00  ComplexSerarchLINQ组合查询Demo\App_Code

     目录          0  2010-07-30 20:12  ComplexSerarchLINQ组合查询Demo\App_Data

     目录          0  2010-07-30 21:30  ComplexSerarchLINQ组合查询Demo\Bin

     目录          0  2010-07-30 21:01  ComplexSerarchLINQ组合查询Demo\image

     目录          0  2010-07-30 21:30  ComplexSerarchLINQ组合查询Demo\ReferenceDll

     目录          0  2010-07-31 01:06  ComplexSerarchLINQ组合查询Demo

----------- ---------  ---------- -----  ----

             35987723                    28

............此处省略1个文件信息

评论

共有 条评论