none
C# String to LINQ Statement RRS feed

  • Question

  • Hi People,
    Iam new to LINQ.
    I have the Req where i need to form the LINQ Statement dynamically.
    For Ex:
    public List<v_Employee> GetFilteredArticleDetails(string filterexp, string lastvalue, string PageNavMode)
    {
    Var emp=(from cust in db.Employee
                    Where Input Argument(filterexp)
                     select Cust);
    retun emp.ToList();
    }

    The Highlighted Text is the Text bo be binded Dynamically.
    Can you please Help me
    Thanks
    Regards
    N.Balaji
    Monday, September 14, 2009 6:19 AM

Answers