In AdventureWorks DB, which one is more efficient?
select * from Person.Contact where LEFT(LastName,4) = 'Cole'
select * from Person.Contact where LastName like 'Cole%'
View Complete Post
Hiii Coders ,
I have created my website. Now what is my requirement is that on higher resolution it should be centralized means margin from both sides should be same.
How can i get it working
plz provide me some code snippet plz
thanx and regards
I'm currently using the CurvedMenuProjects custom control and I does almost everything I need a Menu Control to do but it doesn't swap submenu position (left/right) when the dropdown goes off the right edge of the screen.
Does anybody know if it's possible to configure the control to do this?
Any pointers on how I can get started writing the behavior into the custom control myself?
Here Charles Petzold explains several techniques for improving the performance of ItemsControls.
MSDN Magazine March 2009
Someone once said to me that the hallmark of a good developer is the desire to spend time efficiently. Developers are continually pursuing ways to make coding easier and faster, and to reduce the number of errors.
MSDN Magazine December 2004
Networked applications must deal with a host of connection problems ranging from timeouts to congestion to unavailability. If these applications can check the current connection status and, when disconnected, cache transmissions, they become more efficient. Fortunately, both the System Event Notification System (SENS) and Windows Management Instrumentation (WMI) can send notifications to keep applications informed of network status. In this article, the author explains the use of several SENS interfaces, including ISensNetwork and ISensLogon, which trigger events for connects/disconnects and logons/logoffs, respectively. The author then shows how you can subscribe to each of these events, and follows with a discussion of when you might use WMI events instead.
MSDN Magazine August 2002
The way you choose to transfer data is vitally important in a distributed application. Windows 2000 provides several new features that allow you to transfer data more efficiently. Lightweight handlers allow you to write smart proxies that can cache results and perform buffered reads and writes, minimizing the number of network calls. Windows 2000 also allows you to use pipe interfaces to transfer large amounts of data efficiently through a read-ahead facility. This article illustrates several ways to improve data transfer in Windows 2000 using these new features. It also reports the results of transfer time tests and provides recommendations for transferred buffer sizes.
MSDN Magazine September 2000
We are having a fun coding contest to find the best solution to a fairly trivial coding problem. Come along and show off your skills . you might just win a totally awesome Gyroscope Powerball!
Participate in the Code Contest!
Hi Folks,What is the most efficient way to transmit messages in WCF?I've done a few basic walkthroughs of WCF and upon analyzing the XML transmission I saw that they were very large by default. Containing what appears to me, as a lot of unnecessary information, for my needs.I'm looking for a way to send the shortest messages possible.How can I trim as much as possible from the XML? Can I remove all the header information...What approach to you suggest for sending the shortest messages possible using XML in WCF? Regards,Andy