Click here to Skip to main content
15,890,512 members
This competition has ended

Best overall article of March 2011

Contribute to CodeProject and you'll automatically be in the running for a monthly prize!

Each month at CodeProject we gather together the best of the articles submitted the previous month and ask our readers to choose the best of the best. Entry is automatic - just submit you articke and we'll do the rest.

Check out the submission guidelines for information on posting articles.

Current Entries

Articles that match the contest criteria are automatically entered. The top 50 entries are shown.

Please Sign up or sign in to vote.
1 May 2012AspDotNetDev 4 alternatives  
Call a series of functions until the return value meets a condition without a chained-if or short-circuiting.
Please Sign up or sign in to vote.
29 Mar 2011Sunasara Imdadhusen 4 alternatives  
Load all the Country Names of the World in DropDown
Please Sign up or sign in to vote.
25 Nov 2011thatraja 1 alternative  
Show Image over an Image using CSS
Please Sign up or sign in to vote.
25 Mar 2011Ravi_Baghel
How to use NHibernate in ASP.NET
Please Sign up or sign in to vote.
1 Mar 2011TheyCallMeMrJames
How to handle the “Unrecognized configuration section userSetting” exception
Please Sign up or sign in to vote.
1 Mar 2011Pete Mourfield
Describes how to check for file existence on an FTP Server using VB.NET
Please Sign up or sign in to vote.
9 Mar 2011Аslam Iqbal 2 alternatives  
Very simple way to restore form window to its previous state
Please Sign up or sign in to vote.
25 Mar 2011jmix90
In this post, we will see how to make a custom control fully useable in a Coded UI Tests scenario.
Please Sign up or sign in to vote.
7 Mar 2011Abhijit Jana
Track Changes and Advance Scroll Mode in Visual Studio 2010
Please Sign up or sign in to vote.
2 Apr 2011thatraja
DescriptionT...
Please Sign up or sign in to vote.
15 Mar 2011Not Active
Using SPMetal to generate Linq to SharePoint classes
Please Sign up or sign in to vote.
20 Mar 2011RMittelman
Here is a way to do this without using the registry.In the project's properties, Settings pane, add the following settings. You can name these settings anything you want, but use the same setting name in the code shown below:Name: MainWindowStateType:...
Please Sign up or sign in to vote.
20 Mar 2011TheyCallMeMrJames 1 alternative  
A fun script to make yourself sick over how much money your government is spending
Please Sign up or sign in to vote.
2 Mar 2011Kunal Chowdhury «IN»
Color Highlighting in Visual Studio XAML page using ReSharper 6
Please Sign up or sign in to vote.
24 Mar 2011Kunal Chowdhury «IN»
Attaching an External DataSource in LightSwitch Application
Please Sign up or sign in to vote.
6 May 2011Sofa Team
Sofa makes the link between AvalonDock and MEF, both using composable elements
Please Sign up or sign in to vote.
8 Mar 2011Mahmudul Haque Azad
Generic Method Problem in Unity Dependency Injection Container
Please Sign up or sign in to vote.
16 Mar 2011Albin Abel
Like HTML images, we can have clickable areas in a picturebox of windows application
Please Sign up or sign in to vote.
19 Mar 2011AspDotNetDev
Here is a slightly shorter version of your first conversion:object someValue = 1;int result = someValue as int? ?? -1;
Please Sign up or sign in to vote.
19 Mar 2011Jonathan Cardy
Please Sign up or sign in to vote.
16 Mar 2011Abhishek Sur
RegisterName for StoryBoards in WPF (NameScopes)
Please Sign up or sign in to vote.
16 Feb 2015DrABELL
Essentially the same code snippet with just a little bit cleaner and more efficient code1. setTimeout() is replaced with setInterval() function2. The interval is correctly set to 333 msec to produce 3 updates per second as specifiedRelated application (as FYI): Inflation...
Please Sign up or sign in to vote.
20 Mar 2011mbcrump
This article will show you a tip/trick to help your ad display properly.
Please Sign up or sign in to vote.
27 Mar 2011Brij
Validating partial page with ASP.NET Validators using JavaScript
Please Sign up or sign in to vote.
1 Mar 2011Reto70
if you want to run the script in the folder where the script is store you can add the following code@ECHO %0 %*@pushd@cd /D "%~dp0"@cd....@pause@popdin most case %0 is the name of the script including the full path%~dp0 is only the drive and the path of the scriptcd...
Please Sign up or sign in to vote.
3 Mar 2011Manas Bhardwaj
I would use Attachment [^] instead of MailAttachment[^]One should also use System.net.mail[^] instead of System.Web.Mail[^] which is now obsolete.
Please Sign up or sign in to vote.
7 Sep 2023Tragdor
A quick lesson in LINQ and dynamic Lambda statements
Please Sign up or sign in to vote.
1 Apr 2011Arik Poznanski
Flashcards.Show – Planning a Cross-Platform Solution
Please Sign up or sign in to vote.
14 Mar 2011rudigrobler
How to make the ApplicationBar bindable in a WP7 application.
Please Sign up or sign in to vote.
28 Mar 2011Ondrej_Uzovic
A simple example showing how to implement communication from a Windows Phone 7 to a standalone .NET application using HTTP
Please Sign up or sign in to vote.
22 Mar 2011dilnawazkhan
*{outline:none...
Please Sign up or sign in to vote.
29 Mar 2011rudigrobler
What data to save when your application is tombstoned
Please Sign up or sign in to vote.
3 Mar 2011Pete Mourfield
Building a Facebook Graph API application using ASP.NET
Please Sign up or sign in to vote.
5 Mar 2011SimmoTech
This code is 27% faster on my machine (.NET 4/AnyCPU on a 64bit i5 processor) for the Unicode test than the Ayoola/Bell algorithm.No unsafe code (in fact was 18% faster than the unsafe version as posted) and works with Unicode.public static string ToggleCase_SimmoTech(string s){ ...
Please Sign up or sign in to vote.
7 Mar 2011Mark Olbert
A declarative framework for building WPF wizards.
Please Sign up or sign in to vote.
2 Apr 2011AspDotNetDev
VB.NET Version (C# Version)Thanks to cechode for inspiring this tip/trick. Suppose you have the following functions:Function Step1() As Boolean Return TrueEnd FunctionFunction Step2(ByVal val1 As Integer, ByVal val2 As Integer) As Boolean Return val1 = val2End...
Please Sign up or sign in to vote.
7 Aug 2017JasonShort
How to use EF 4.1 Code First to support multiple database vendors
Please Sign up or sign in to vote.
25 Mar 2011Arik Poznanski
Ways to load application
Please Sign up or sign in to vote.
12 Jun 2011Seishin#
Optimal and unobtrusive JavaScript arrangement in MVC project
Please Sign up or sign in to vote.
13 Mar 2011Kristofer Kallsbo
Updating several rows using LINQ to SQL.
Please Sign up or sign in to vote.
29 Mar 2011alex turner
Having spent far too much time benchmarking different code recently, here are some lessons learned!
Please Sign up or sign in to vote.
3 Mar 2011crocks256
The ConnectionStringBuilder classes in .NET can be quite handy...http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnectionstringbuilder.aspx[^].
Please Sign up or sign in to vote.
8 Mar 2011Hariharan Arunachalam
These are the same classes in VB.NET in case needed.I've also made the mail server address a parameter to allow the code to be runnable on copy paste.The problem while sending the bigger files was the smtp client's timeout(default 100s). I've made this dependent on the attachments' size...
Please Sign up or sign in to vote.
20 Mar 2011Thomas Willwacher
AutoGrayImage: An image class that changes to grayscale when it becomes disabled.
Please Sign up or sign in to vote.
27 Mar 2011Albin Abel
Instances of pages not accessible like other classes. This demonstrates how to instantiate a page and pass parameters through a custom HttpHandler.
Please Sign up or sign in to vote.
29 Mar 2011Neil A. Harding
Please Sign up or sign in to vote.
22 Mar 2011Tragdor
How to make a robust GridView with filtering capabilities
Please Sign up or sign in to vote.
10 Mar 2011Rick Bassham
An easy way to do an AJAX call to another domain
Please Sign up or sign in to vote.
18 Mar 2011Steve L. Powell
Using Forms with Queries in Access

Current Participants

Those with articles that match the contest criteria are automatically entered.

Technical Lead
India India

Kunal Chowdhury is a former Microsoft "Windows Platform Development" MVP (Most Valuable Professional, 2010 - 2018), a Codeproject Mentor, Speaker in various Microsoft events, Author, passionate Blogger and a Senior Technical Lead by profession.

He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows app development. He posts his findings, articles, tutorials in his technical blog (www.kunal-chowdhury.com) and CodeProject.


Books authored:


Connect with Kunal on:




Technical Lead
India India
.NET Consultant | Former Microsoft MVP - ASP.NET | CodeProject MVP, Mentor, Insiders| Technology Evangelist | Author | Speaker | Geek | Blogger | Husband

Blog : http://abhijitjana.net
Web Site : http://dailydotnettips.com
Twitter : @AbhijitJana
My Kinect Book : Kinect for Windows SDK Programming Guide
President
India India
Did you like his post?

Oh, lets go a bit further to know him better.
Visit his Website : www.abhisheksur.com to know more about Abhishek.

Abhishek also authored a book on .NET 4.5 Features and recommends you to read it, you will learn a lot from it.
http://bit.ly/EXPERTCookBook

Basically he is from India, who loves to explore the .NET world. He loves to code and in his leisure you always find him talking about technical stuffs.

Working as a VP product of APPSeCONNECT, an integration platform of future, he does all sort of innovation around the product.

Have any problem? Write to him in his Forum.

You can also mail him directly to abhi2434@yahoo.com

Want a Coder like him for your project?
Drop him a mail to contact@abhisheksur.com

Visit His Blog

Dotnet Tricks and Tips



Dont forget to vote or share your comments about his Writing
Software Developer
India India
I am developer in .Net and GIS. albin_gis@yahoo.com
Web Developer
United Kingdom United Kingdom
I am now a Software Systems Developer - Senior Principal at Micro Focus Plc. I am honoured to work in a team developing new compiler and runtime technology for Micro Focus.

My past includes a Ph.D. in computational quantum mechanics, software consultancy and several/various software development and architecture positions.

For more - see

blog: http://nerds-central.blogspot.com

twitter: http://twitter.com/alexturner
Software Developer (Senior) Verint
Israel Israel
Arik Poznanski is a senior software developer at Verint. He completed two B.Sc. degrees in Mathematics & Computer Science, summa cum laude, from the Technion in Israel.

Arik has extensive knowledge and experience in many Microsoft technologies, including .NET with C#, WPF, Silverlight, WinForms, Interop, COM/ATL programming, C++ Win32 programming and reverse engineering (assembly, IL).
Web Developer
United States United States

  • Managing Your JavaScript Library in ASP.NET (if you work with ASP.net and you don't read that, you are dead to me).
  • Graduated summa cum laude with a BS in Computer Science.
  • Wrote some articles and some tips.
  • DDR ("New high score? What does that mean? Did I break it?"), ping pong, and volleyball enthusiast.
  • Software I have donated to (you should too):
Software Developer (Senior)
India India
Brij is a 3-times Microsoft MVP in ASP.NET/IIS Category and a passionate .NET developer. More than 6 years of experience in IT field, currently serving a MNC as a Tech Lead/Architect.

He is a very passionate .NET developer and have expertise over Web technologies like ASP.NET 2.0/3.5/4.0, jQuery, JSON, Javascript, IIS and related technologies. He is also a Exchange Server (EWS) Specialist. He has great experience in design patterns and N-Tier Architecture.

He is also certified as Microsoft Certified Technologies Specialist-ASP.NET and Microsoft Certified Technologies Specialist-WCF in .NET 4.0. He has also received several awards at various forums and his various articles got listed as "Article of the day" at ASP.NET Microsoft Official Website www.asp.net.

He has done MCA from NIT Durgapur and completed his graduation from Lucknow University.

Learning new technologies and sharing knowledge excites him most. Blogging, solving problems at various forums, helping people, keeps him busy entire day.


Visit his Blog: Code Wala

Area of Expertise :
C#, ASP.NET 2.0,3.5,4.0, AJAX, JQuery, JSON, XML, XSLT, ADO.Net, WCF, Active Directory, Exchange Server 2007 (EWS), Java script, Web Services ,Win services, DotnetNuke, WSS 3.0,Sharepoint Designer, SQL Server 2000/2005/2008
Architect
United Kingdom United Kingdom
John has 10 years extensive Software Development Experience in numerous languages and methodologies ranging from Windows Application development to Rapid Web Development using Agile and fast coding methods.

Working with Microsoft Technologies, SQL Database Systems, Javascript, Business Analysis, C#, VB.Net, ASP.Net, AJAX, Web2.0, jQuery,Coldfusion,Project Management, Agile Methodologies.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Engineer
United States United States
Dr. Alexander Bell (aka DrABell), a seasoned full-stack DevOps and Data Engineer holds PhD in Electrical and Computer Engineering, authored 37 inventions and published 100+ technical articles, including those popular at CodeProject totaling 4M+ views. Alex pioneered AI/NLP, Cloud development, .NET/Java technology stacks, advanced SQL extensions, HTML5/CSS3 and other important Web technologies; developed multiple award-winning Web/Win apps submitted to App Innovation Contests (AIC 2012/2013). Currently focused on Microsoft Azure Cloud and GitHub Copilot AI-enabled DevOps.

  1. Quiz Engine powered by Azure Cloud (Dev Challenge article)
  2. 'enRoute': Real-time NY City Bus Tracking Web App (IoT on Azure)
  3. Azure web app: Engineering Calculator VOLTMATTER
  4. Azure: NYC real-time bus tracking app
  5. HTML5/CSS3 graphic enhancement: buttons, inputs
  6. Aggregate Product function extends SQL
  7. HTML5 Tables Formatting: Alternate Rows, Color Gradients, Shadows
  8. YouTube™ API for ASP.NET
Student
India India
Hariharan leapt into the field of programming after being introduced to C in his second year at college. A fan of basketball and chess, the logical thought process behind programming and the concepts of linking real principles onto a concrete platform pushed him deep into this field. On finishing his bachelor's majoring in Electrical and Electronics engineering with Soft Computing, Numerical Analysis and Biomedical Engineering as minor, he did a six month stint at India's second largest IT company- Infosys Technologies. He left Infosys armed with strong concepts of SDL Cycles and process development, gained domain knowledge in Java and had explored Visual basic, C++, C# and kept his mind open for more. Currently working in a startup as the product designer, his arsenal of technologies has doubled to accommodate the challenges his job demands.
Off work, he enjoys learning new languages (non-programming) and is currently teaching himself German and Spanish. He also enjoys travelling around and exploring new ideas, places and relationships.

Currently attempting to extend his education to post graduation.
Software Developer (Senior)
United States United States
I hold a PhD in computer science, and have been a practicing developer since the early 90's.

I used to be the owner for VistaDB, but sold the product to another company in August 2010.

I have recently moved to Redmond and now work for Microsoft. Any posts or articles are purely my own opinions, and not the opinions of my employer.
Software Developer http://wpf-france.fr
France (Metropolitan) France (Metropolitan)
Jonathan creates software, mostly with C#,WPF and XAML.

He really likes to works on every Natural User Interfaces(NUI : multitouch, touchless, etc...) issues.



He is awarded Microsoft MVP in the "Client Application Development" section since 2011.


You can check out his WPF/C#/NUI/3D blog http://www.jonathanantoine.com.

He is also the creator of the WPF French community web site : http://wpf-france.fr.

Here is some videos of the projects he has already work on :
Software Developer Repstor Ltd
United Kingdom United Kingdom
I am a Product Architect at Repstor.

Repstor custodian and Repstor Provisioning Engine provide case management and provisioning for SharePoint.

Repstor affinity provides uninterrupted access to content systems, like SharePoint through the familiar interface of Microsoft Outlook.
I develop in C# on .Net platforms like MVC. Like to use jQuery to build rich interfaces. I also blog about development and snags I got and the solutions I found for them.

I also a full time CIO at a Swedish energy company. When there is time I do some part time consulting on cloud issues.
Software Developer (Senior) Vizrt Bangladesh
Bangladesh Bangladesh
I am truly versatile and 360 degree Engineer having wide range of development experience in .NET and Java Platform. I am also proficient in system level programming in C++. To me technology is not at all a problem, it’s the client requirement that matters! That is I am ready and comfortable to use any technology to make the business of my client a success.

In my five years of experience I have the opportunities to work for fortune 500 companies of US and many renowned clients from Europe.

My Linkedin Profile: http://bd.linkedin.com/in/mahmudazad
Architect
Netherlands Netherlands

Read my personal blog at www.manasbhardwaj.net.

Jump for Joy Software
United States United States
Some people like to do crossword puzzles to hone their problem-solving skills. Me, I like to write software for the same reason.

A few years back I passed my 50th anniversary of programming. I believe that means it's officially more than a hobby or pastime. In fact, it may qualify as an addiction Smile | :) .

I mostly work in C# and Windows. But I also play around with Linux (mostly Debian on Raspberry Pis) and Python.
Software Developer (Senior) Telerik
United States United States
Michael Crump is a Silverlight MVP and MCPD that has been involved with computers in one way or another for as long as he can remember, but started professionally in 2002. After spending years working as a systems administrator/tech support analyst, Michael branched out and started developing internal utilities that automated repetitive tasks and freed up full-time employees. From there, he was offered a job working at McKesson corporation and has been working with some form of .NET and VB/C# since 2003.

He has worked at Fortune 500 companies where he gained experience in embedded systems design and software development to systems administration and database programming, and everything in between.

His primary focus right now is developing healthcare software solutions using Microsoft .NET technologies. He prefers building infrastructure components, reusable shared libraries and helping companies define, develop and automate process standards and guidelines.

You can read his blog at: MichaelCrump.net or follow him on Twitter at @mbcrump.
Software Developer CME Offshore
Lebanon Lebanon
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect
Slovakia Slovakia
My programming path started in 1987 when I got my first computer Sharp MZ-800.
It came with 8 bit CPU Z80, 64Kb RAM and the tape recorder. It was a great machine. I think I still have it somewhere.
I was fascinated and I started to write first programs. Eventually I became developer and software architect. I like innovations and clean nice solutions.
Software Developer (Senior)
United States United States
Software Developer
Software Developer (Senior) iGATE Global Solutions Ltd
India India
I started programming at the age of 16 with BASIC. I did my Diploma in Computer Software from Aptech Computer Education in 2002, where i learned Microsoft Office, C, C++, Javascript, VB 6.0, ASP. Currently hold a Bachelor of Engineering degree in Electronics and Telecommunication from RITEE, Raipur, Chhattisgharh, pass out of 2008 batch. I currently work with Microsoft’s .NET and SQL Server Technologies.
Switzerland Switzerland
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
United States United States
I have been a software developer since 2005, focusing on .Net applications with MS SQL backends, and recently, C++ applications in Linux, Mac OS X, and Windows.
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
South Africa South Africa
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer Megabajt
Poland Poland
Seishin began his adventure with programming at the age of 16 - starting with html, php, (simple) js then tried (or rather was forced to) some pascal, some asembler, java and vba. Finally when he was 20 he got to know c, c++ and his beloved c#.
Nowadays he's a senior software developer at a computer company and a freelance webdeveloper designing and implementing winform apps, websites, windows services and others utilizing c#, asp.mvc, js (jquery) and sql (ms t-sql).
Software Developer (Senior) Hunton Information Systems Ltd.
United Kingdom United Kingdom
Simon Hewitt is a freelance IT consultant and is MD of Hunton Information Systems Ltd.

He is currently looking for contract work in London.

He is happily married to Karen (originally from Florida, US), has a lovely daughter Bailey, and they live in Kings Langley, Hertfordshire, UK.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer Excel Adviser
Canada Canada
I am a freelance software developer with a variety of different interests. My main area of expertise is Microsoft Office add-ins (Excel/Outlook mostly) but I also develop Windows applications, Access Databases and Excel macros . I develop in VBA, C# and C++. My website exceladviser.com has articles on Excel, Access, Microsoft Office development, and general Windows programming (WPF, etc.).
Technical Lead Infostretch Ahmedabad-Gujarat
India India
Aspiring for a challenging carrier wherein I can learn, grow, expand and share my existing knowledge in meaningful and coherent way.

sunaSaRa Imdadhusen


AWARDS:

  1. 2nd Best Mobile Article of January 2015
  2. 3rd Best Web Dev Article of May 2014
  3. 2nd Best Asp.Net article of MAY 2011
  4. 1st Best Asp.Net article of SEP 2010


Read More Articles...
Team Leader
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
Canada Canada
For almost 30 years I have been working with computers, learning a myriad of languages and participating in various computing environments.

Though I have been mentoring other developers for the last decade, I have recently found a strong interest in writing and am learning to translate the fun of in-person teaching to something I can get into article form.

I enjoy following technology trends, new gadgets and trying to guess where innovation will lead us next (I'm kinda holding out for a robot-served utopia, but willing to submit to our future robot leaders).

I am a guy who is passionate about my faith, my family and a cure for Juvenile Diabetes (my son lives with this disease).
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Clearview Energy
United States United States
I have been coding since the 80's. Well that is kinda true, since I took Computer Science in College, however, it wasn't until Microsoft created an application called Office that I actually started coding in the real world.

Since 1995, I have been in the IT field and dabbled at creating Network Provider business to hook into the internet. At the time T1 lines were the bomb and very expensive, I had one. My partners created a workshop to introduce Windows 95, by selling computers with the operating system already installed. We would house classes of internet browsing and how to use Windows. My partners and I were initially involved in supporting the beta Windows 95 so we were well qualified to instruct on that subject.
I researched and developed all of the business web pages and web applications. My knowledge of VB helped me rise into the ranks of Contractor where I would then learn Java, HTML, and more.
I have since built thousands of web pages and applications, joined the .NET band wagon (though now I am having PHP fun). I currently support SOA Architecture for a marketing firm. I have had lots of fun with .NET. I have recently created websites for my company using MVC and Web API. I like to blog about my experiences when I have a major roadblock and my blogs usually wind up here.
Software Developer (Senior) Arisaf Tech
Bangladesh Bangladesh
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
You must sign in to participate in this contest.
This contest has ended.
1 Mar - 31 Mar 2011