by: Egghead |
last post by:
Hi here,
Does LINQ only work with "var" in C#?
It only works:
int cc = { 1, 2, 3, 4, 5, 6, 7, 8, 9 };
var b = from p in cc where (p 4) select p;
but not this:
|
by: wildThought |
last post by:
Playing around with LINQ and:
SqlConnection con = new SqlConnection(@"Data Source=.
\SQLExpress;Initial Catalog=Northwind;Integrated Security=SSPI");
Northwind db = new Northwind(con);
var q...
|
by: =?Utf-8?B?VmFuZXNzYQ==?= |
last post by:
I want to develop a datagridview allowing column selection and filtering,
like this:
http://www.codeproject.com/KB/grid/GridFilter.aspx
This example is using dataset. My question is if:
a) I...
|
by: paululvinius |
last post by:
Hi!
Testing som Linq-expressions and tried to measure performance and
compare it to pre-Linq programming.
The folloing two methods are functional equal but the non-Linq one is
twice as fast....
|
by: Andy B |
last post by:
I was just wondering, when you create dataContext methods, should you put
business logic there to try and minimize pushing data through 2-3 layers of
code? or should the business logic still go in...
|
by: Dylan Parry |
last post by:
Hi,
I have two classes (Review and Author) that are representative of tables
in my database. Both classes are marked up LINQ mappings. The database
(and classes) is structured in such a way that...
|
by: Dan Tallent |
last post by:
I have a query which I would like to convert to LINQ. I am having
problems finding good examples or references that cover more complex
queries.
Here is the SQL command I would like to rewrite...
|
by: hrishy |
last post by:
Hi
Will LINQ be ported to Python ?
regards
Hrishy
|
by: =?Utf-8?B?TWl0Y2hX?= |
last post by:
Hello,
I have the following code:
DirectoryInfo pdfDirectory = new DirectoryInfo(@"..\Documents");
var files = from f in pdfDirectory.GetFiles("*.pdf")
select new { Filename =...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|