multiple (39,061)


c# - How do I get a distinct, ordered list of names from a DataTable using LINQ?

c# - How do I get a distinct, ordered list of names from a DataTable using LINQ?

I have a DataTable with a Name column. I want to generate a collection of the unique names ordered alphabetically. The following query ignores the order by clause. var names=(from DataRow dr in dataTa…


c# - Compressing/Decompressing Folders & Files

Does anyone know of a good way to compress or decompress files and folders in C# quickly? Handling large files might be necessary.…


python - How do I use itertools.groupby()?

I haven't been able to find an understandable explanation of how to actually use Python's itertools.groupby() function. What I'm trying to do is this: Take a list-in this case, the children of an obje…


sql server - Editing database records by multiple users

I have designed database tables(normalised, on an MS SQL server) and created a standalone windows front end for an application that will be used by a handful of users to add and edit information. We…


c# - Asynchronous multi-direction server-client communication over the same open socket?

I have a client-server app where the client is on a Windows Mobile 6 device, written in C++ and the server is on full Windows and written in C#. Originally, I only needed it to send messages from the…


language agnostic - Followup: Finding an accurate “distance” between colors

Original Question I am looking for a function that attempts to quantify how "distant"(or distinct) two colors are. This question is really in two parts: What color space best represents human visi…


What are the current best options for parallelizing a CPU-intensive.NET app?

This is an open-ended question. What approaches should I consider?…



sql - What is the best way to handle multiple permission types?

I often encounter the following scenario where I need to offer many different types of permissions. I primarily use ASP.NET/VB.NET with SQL Server 2000. Scenario I want to offer a dynamic permissio…


Reducing duplicate error handling code in C#?

I've never been completely happy with the way exception handling works, there's a lot exceptions and try/catch brings to the table(stack unwinding, etc.), but it seems to break a lot of the OO model…


How do I make a menu that does not require the user to press[enter] to make a selection?

I've got a menu in Python. That part was easy. I'm using raw_input() to get the selection from the user. The problem is that raw_input(and input) require the user to press Enter after they make a s…




how example with from not and file python columns value