Problem Statement In older versions of ASP.NET, When we select any row in a GridView or ListView controls, the selection is based on the row index of the page. For example, If we select row no 3 on page 1 and then move to page 2, we will see row no 3 again selected on […]

The Model View ViewModel (MVVM) is an architectural pattern used in software engineering that originated from Microsoft as a specialization of the Presentation Model design pattern introduced by Martin Fowler. Largely based on the Model-view-controller pattern (MVC), MVVM is targeted at modern UI development platforms (Windows Presentation Foundation and Silverlight) in which there is a […]

We already have been visualizing the earth on our desktops for quite a long time now. Thanks Google Earth and Bind maps. Ever wondered if we could visualize space this way as well? Imagine taking a close look at a stars or galaxies like Milky way right from your desktop? Or even taking a view […]

Nullable type in C# We can declare a variable as nullable when we want to know that a value has been assigned to that variable or not. Declaring a variable as nullable enables the HasValue and Value members. We can use the HasValue property on the variable to check if the value has been assigned […]

Big question today: What is the scope of .NET and J2EE platforms. Which one is more dominant in industry today? I want to answer this question in this post with my viewpoint with no intentions of hurting anybody but with a sole intention of increasing the knowledge of J2EE for .NET people and .NET for […]

C# 3.0 introduced a very compact way of initializing objects of a class. Previously we used to initialize objects like this: Now, with the new feature known as Anonymous Constructors or Object Intializers we can do the same code in C# 3.0 and above like this: In the C# 3.0 code, there is no constructor […]

The task at hand is to validate the Textbox in asp.net for a valid password which should be an alphanumeric string consisting of numbers and alphabets only. It should have atleast 1 number and 1 a We can attach a RegularExpressionValidator to the text box with the following regular expression:

Recently I was on client site of one of my companies prestigious client for the gathering of some new business requirement and understanding of their existing work model. I faced a typical yet very common problem which i think most of you have faced on your clientele’ visit. Dealing with multiple outlook profiles specially when […]

The task at hand is to validate the Textbox in asp.net for a valid email address. We can attach a RegularExpressionValidator to the text box with the following regular expression: UPDATES Well i searched the net for the standards of a valid email id and i came across with a wonderful article at I Knew […]

In this article we will explore the usage of Open Source tool NDoc to create MSDN type help file from the xml documentation in a DotNet assembly. To know how we can create XML documentation visit the link XML Documentation in Visual Studio using GhostDoc Ndoc basically uses two sources to generate documentation. One is […]