|
|
-
|
|
In Earlier versions of .NET, String class has IsNullOrEmpty() method, which can be used to check whether the string is null or empty. To check for white spaces, we need to write additional code. Now .NET 4.0 introduced a new method, IsNullOrWhiteSpace......
|
|
-
|
|
In previous versions, if we select a row in gridview in page 1, if we move to page 2 and come back to page 1, previously selected row will be unselected. I saw many questions in forums to persist this selection. We used to write a lot of custom code. No......
|
|
-
|
|
For example, if we have two tables Country and cities then you'll write code like:
[code]
foreach (var country in countriesEntities.Countries)
{
Console.WriteLine(country.CountryName + "\nCities:");
foreach (var city in country.Cities)
{
......
|
|
-
|
|
When a web page shows images, for each image it generates a separate HTTP Request to the server. Say, a web page consisting of 10 images sends 10 additional HTTP Requests for each image apart from the general web page request. This will affect performan......
|
|
-
|
|
If you can create Regular class library it has a single target framework.if you want use in multi targeting platform application like Windows Phone 7, Silverlight, the Microsoft .NET Framework and Xbox 360 then that create a problem to reuse code.
Now ...
|
|
-
|
|
In .NET 4.5, .NET Framework team made two improvements to the large object heap. First, they significantly improved the way the runtime manages the free list, thereby making more effective use of fragments. Second, in Server GC Mode, the runtime balance...
|
|
-
|
|
Today while I am working on a silverlight project in visual studio 2008, I found that "start debugging" is disabled.
I resolved this issue by setting startup project for solution. ...
|
|
-
|
|
It is not possible to create a folder named "CON" on a machine having Windows operating system, also you can't create folder with the below names
[code]NUL, AUX, COM1-4, LPT1-3, and PRN [/code] Above words are reserved words used for DOS Devices.
......
|
|
-
|
|
Microsoft is giving away a ton of professional grade software to students. Through the Microsoft DreamSpark program, students can get access to Visual Studio 2008 Professional, Windows Server 2003 Standard Edition, Microsoft Expression Studio, XNA Studi......
|
|
-
|
|
Here is a quick way to view the properties of a file or folder in Window.
1. Hold the "Alt" key
2. Double click on the file/folder
Tested with Window XP, Windows 7.......
|
|