two (11,184) #2


c# How to reference to multiple version assembly

c# How to reference to multiple version assembly

I'm developing a Sharepoint application and use.NET AjaxControlToolkit library, we are adding a custom aspx page to the Sharepoint. Sharepoint 2007 run in quirks mode so I've made some modification…


sql How should I organize my master ddl script

I am currently creating a master ddl for our database. Historically we have used backup/restore to version our database, and not maintained any ddl scripts. The schema is quite large. My current th…


c# When to use an extension method with lambda over LINQtoObjects to filter a collection?

I am prototyping some C# 3 collection filters and came across this. I have a collection of products: public class MyProduct{public string Name{get; set;}public Double Price{get; set;…


asp.net How to specify javascript to run when ModalPopupExtender is shown

The ASP.NET AJAX ModalPopupExtender has OnCancelScript and OnOkScript properties, but it doesn't seem to have an OnShowScript property. I'd like to specify a javascript function to run each time the…


Multiple foreign keys?

I've got a table that is supposed to track days and costs for shipping product from one vendor to another. We(brilliantly:p) stored both the shipping vendors(FedEx, UPS) with the product handling…


algorithm Two marbles and a 100 story building

One of those classic programming interview questions... You are given two marbles, and told that they will break when dropped from some certain height(and presumably suffer no damage if dropped from…


How to create a SQL Server function to “join” multiple rows from a subquery into a single delimited field?

This question already has an answer here: How to concatenate text from multiple rows into a single text string in SQL server? 44 answers To illustrate, as…


Visual Studio and dual/multiple monitors: how do I get optimized use out of my monitors?

Ultramon is a great program for dual monitors(stretching screen across monitors), but I was wondering if there is any way do to something in Visual Studio like have one tab of code open on one monit…


What is the difference between String and string in C#?

Example(note the case): string s="Hello world!"; String s="Hello world!"; What are the guidelines for the use of each? And what are the differences?…


algorithm Merge Sort a Linked List

I was recently brushing up on some fundamentals and found merge sorting a linked list to be a pretty good challenge. If you have a good implementation then show it off here.…





how multiple between with and java from compare example one