multiple (36,876)


Multiple submit buttons in an HTML form

Multiple submit buttons in an HTML form

Let's say you create a Wizard in an HTML form. One button goes back, and one goes forward. Since the back button appears first in the markup when you press Enter it will use that button to submit the…


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…


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.…


How do I use Python's 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…


c# How do I most elegantly express left join with aggregate SQL as LINQ query

SQL: SELECT u.id, u.name, isnull(MAX(h.dateCol), '1900-01-01') dateColWithDefault FROM universe u LEFT JOIN history h ON u.id=h.id AND h.dateCol<GETDATE()-1 GROUP BY u.Id, u.name…


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…




how example with from not python file and columns one