score:4
Accepted answer
gridview1.datasource = from td in technologydescriptor where td.technologyname.contains(".net") == true order by td.techologyname.length
select td.technologyname.toupper();
score:1
gridview1.datasource = from t in technologydescriptor
where t.technologyname.contains(".net")
orderby t.technologyname.length
select t.technologyname.toupper();
Source: stackoverflow.com
Related Query
- What is wrong with this LINQ query
- What is wrong with this linq query?
- LINQ with Where and All not filtering data - What is wrong with this query?
- Whats wrong with this LINQ query
- What is wrong with this LINQ query?
- Can someone advise me what wrong with my Type or linq query
- What is wrong with this XML that is preventing linq from working?
- What does this LINQ query do?
- What is the return type for a anonymous linq query select? What is the best way to send this data back?
- How can I speed up this linq query on a List<> with search criteria on 3 attributes in the list object
- How do I get this Linq query with custom join into a DataSet?
- What Is This Part Of A Linq Query Called?
- How to speed up this LINQ query with join?
- Is anything wrong with this linq insert? Seems like a lot of SQL for simple operation
- Is It Possible to do this T-SQL Query with LINQ (to Entities)
- What is wrong with this statement below
- what is difference between linq query with Take and without?
- How to convert this complex SQL Query with Subqueries into LINQ
- What is the equivalent LINQ to SQL query expression of this SQL statement?
- How do I optimize this Linq query to find blog posts with the most views in past 24 hours
- What am I doing wrong in this SQL to LINQ conversion?
- What is wrong in this LINQ Query, getting compile error
- What means a combined All with Any LINQ query
- What is wrong with Zip Method in Linq using C#?
- What part of this Linq query is invalid for nHibernate?
- Getting wrong output with linq join query
- What would be the LINQ solution for this query in c#?
- Simple LINQ Query with LINQ to SQL, think I'm doing something wrong
- what is wrong with my GroupBy Query
- Help with this Linq query (many-to-many join)
More Query from same tag
- Sort list of lists using LINQ so high score is first then lastname and firstname in alphabetic order
- Dynamic LINQ
- XDocument from string has one element, need toDictionary
- How to create a tree list from a list
- Could use some help optimizing this data grouping
- How to write this linq query dynamically c#
- Dynamic Linq Select with Lambda
- C# LINQ - Find object in list between two properties
- Return children using LINQ to XML
- Sum int values from a child table to parent Index List in ASP MVC
- InvalidOperationException when using select query in ASP.NET Core MVC
- LINQ or DataTable when number of fields unknown
- Cant add data to xml from list using linq
- problem using foreach in linq query result
- Combinations without repetition with specific number
- How many times will Linq to Objects iterate over a source?
- LINQ to Objects - Generic conversion of ICollection's property to CSV
- Using the magic of LINQ - How to call a delegate for each criteria that matches?
- Table Valued Function and Entity Framework
- Return string value from a database
- Reading a key/value pair to a dictionary by passing the path of the .config file c#
- Reorder a list of items and update in the database
- How Can I Achieve this Using LINQ?
- How to use XDocument to Read Multiple Embeded Elements
- how to group by parent and apply aggregate function on its childeren in LinQ Lambda
- How to get a list of non duplicate values from one property
- How to Query and Enumerate complex JSON object using JSON.Net in C#
- Can't use foreach on a anonymous type
- Linq issue, Unable to get expected data C#
- Why use .AsEnumerable() rather than casting to IEnumerable<T>?