Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples
Search:
What's New - What's Hot
More Categories for .NET Framework .NET Framework (1709)
More Categories for .Net Framework 2.0 .Net Framework 2.0 (362)
More Categories for ADO.NET ADO.NET (411)
More Categories for AJAX AJAX (755)
More Categories for ASP.Net ASP.Net (22022)
More Categories for ASP.NET 2.0 ASP.NET 2.0 (4640)
More Categories for C-Sharp C-Sharp (18146)
More Categories for Exchange Server Exchange Server (55)
More Categories for SQL Server SQL Server (5027)
More Categories for Visual Basic.Net Visual Basic.Net (5931)
More Categories for Visual C# .NET Visual C# .NET (80)
More Categories for Visual C++ .NET Visual C++ .NET (7625)
More Categories for Visual Source Safe Visual Source Safe (42)
More Categories for Visual Studio 2005 Visual Studio 2005 (2053)
More Categories for Visual Studio.Net Visual Studio.Net (1856)
More Categories for WAP WAP (783)
Listings for WCF WCF (1047)
More Categories for Web Web (47)
More Categories for Web Services Web Services (403)
More Categories for Windows Windows (768)
Listings for WPF WPF (2193)
Listings for WWF WWF (305)
More Categories for XML XML (63)
More Categories for XML And .NET XML And .NET (1204)


A Debug Stopwatch  Version: 0.00     Price: $0.00  
Total Hits: 538  |  Today: 0Author: Marc Clifton      Rating:  
Read Reviews | Write Review |  Your Rating: 

On occasions, one needs to take time samples of an operation but only as a diagnostic during development and/or testing in a debug build. And, while there is an excellent Stopwatch class in .NET 2.0, this class is inappropriate for non-diagnostic time sampling because it:

is not a static class, and
therefore does not support conditional debug builds....

The virtual bool bug  Version: 0.00     Price: $0.00  
Total Hits: 521  |  Today: 0Author: Nishant Sivakumar      Rating:  
Read Reviews | Write Review |  Your Rating: 

This bug was first reported by Jochen Kalmbach on April 12th 2002 (no links available to original posting), when VS.NET 7.0 was doing its initial rounds; and it's quite inconceivable why the bug still exists in VS.NET 2003. Just about every week, at least two people report issues related to this bug and I thought it might be a good idea to have an article on it here on CodeProject. What's really annoying is that the developer might spend several hours or even a full day on the problem before rea...

Application.EnableVisualStyles Bug  Version: 0.00     Price: $0.00  
Total Hits: 378  |  Today: 0Author: Don Kackman      Rating:  
Read Reviews | Write Review |  Your Rating: 

Version 1.1 of the .NET framework introduced the method System.Windows.Forms.Application.EnableVisualStyles. Calling this method prior to the creation of any Forms or Controls, will cause Windows XP to apply a theme when rendering Windows Common Controls and many of the native .NET controls like Buttons and CheckBoxes....

The Process Async Reader Bug  Version: 0.00     Price: $0.00  
Total Hits: 401  |  Today: 0Author: Marc Clifton      Rating:  
Read Reviews | Write Review |  Your Rating: 

A workaround for a bug I discovered with the async reader in the Process class....

Load a DBF into a DataTable  Version: 0.00     Price: $0.00  
Total Hits: 396  |  Today: 0Author: Brian Duke      Rating:  
Read Reviews | Write Review |  Your Rating: 

The main focus of this article is to load the contents of a DBF file into a DataTable. Sure, you can search the Internet and find a thousand examples of how to load a DBF in .NET. However, try to find one that does not use the MS Jet driver or perhaps the MS FoxPro driver. I tried myself and couldn't find one, so I decided to write a class to do it....

Weird Error: Unable to Validate Data in ASP.NET website  Version: 0.00     Price: $0.00  
Total Hits: 376  |  Today: 0Author: Abhishek Sur      Rating:  
Read Reviews | Write Review |  Your Rating: 

Have you ever come across a situation where your website which was working for the last couple of months gives a weird error "Unable to Validate Data". Yesterday, while working I found that my website which is already published in IIS throws this error. Initially I thought the error might be with my code, but I found that everything is good with the code. So I looked forward to internet and found that this error comes when the viewstate of a page cannot be decrypted when the response is received...

ASP.NET and jQuery to the Max  Version: 0.00     Price: $0.00  
Total Hits: 442  |  Today: 0Author: Gianluca Negrelli      Rating:  
Read Reviews | Write Review |  Your Rating: 

The UpdatePanel represents Microsoft's main interpretation of AJAX techniques. The UpdatePanel's indubitable merit is that it brings the magic of AJAX in every day's programming work for any ASP.NET programmer. But now, three years after it was born, the UpdatePanel shows all its limits even to me, a trusty and loyal Microsoft programmer....

Fixing Error: "SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used"  Version: 0.00     Price: $0.00  
Total Hits: 477  |  Today: 0Author: Dhananjay Kumar      Rating:  
Read Reviews | Write Review |  Your Rating: 

What is and how to fix error: "SetConfigurationSettingPublisher needs to be called before FromConfigurationSetting can be used"...

Generics in .NET  Version: 0.00     Price: $0.00  
Total Hits: 595  |  Today: 0Author: Dinkar Chavhan      Rating:  
Read Reviews | Write Review |  Your Rating: 

Generics allow a type or method to operate on objects of various types while providing compile time type safety; that means if you add in generics class different type variable. Eg., string and int in a same list then it will throw a compile time error. Generics are available in the System.Collections.Generic Namespace....

Builder Design Pattern  Version: 0.00     Price: $0.00  
Total Hits: 614  |  Today: 0Author: DevLake      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can see this and other great articles on Design Patterns here.

The Builder Design Pattern allows you to create a general guideline on how to create an object, then have different implementations on how to build parts of the object....

Abstract Factory Design Pattern  Version: 0.00     Price: $0.00  
Total Hits: 585  |  Today: 0Author: DevLake      Rating:  
Read Reviews | Write Review |  Your Rating: 

The abstract factory design pattern is merely an extension of the factory method pattern, which allows you to create objects without being concerned about the actual class of the objects being produced. The abstract factory pattern extends the factory method pattern by allowing more types of objects to be produced....

Prototype Design Pattern  Version: 0.00     Price: $0.00  
Total Hits: 638  |  Today: 0Author: DevLake      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can see this and other great articles on design patterns here.

The prototype design pattern allows you to avoid expensive initialization routines when you construct objects that are very similar. The goal is to minimize the amount of work needed in creating new objects when the initialization routines are expensive. For example, if the initialization routine requires database queries, file lookups, or service calls and you already have other objects in the system that are very similar...

Bridge Design Pattern  Version: 0.00     Price: $0.00  
Total Hits: 114  |  Today: 0Author: DevLake      Rating:  
Read Reviews | Write Review |  Your Rating: 

The bridge design pattern allows you to separate the abstraction from the implementation. In the bridge pattern, there are 2 parts - the first part is the Abstraction, and the second part is the Implementation. The bridge pattern allows the Abstraction and the Implementation to be developed independently, and the client code can access only the Abstraction part without being concerned about the Implementation part....

Composite Design Pattern  Version: 0.00     Price: $0.00  
Total Hits: 122  |  Today: 0Author: DevLake      Rating:  
Read Reviews | Write Review |  Your Rating: 

The composite design pattern allows you to set up a tree structure and ask each element in the tree structure to perform a task. A typical tree structure would be a company organization chart, where the CEO is at the top and other employees at the bottom. After the tree structure is established, you can then ask each element, or employee, to perform a common operation....

Decorator Design Pattern  Version: 0.00     Price: $0.00  
Total Hits: 117  |  Today: 0Author: DevLake      Rating:  
Read Reviews | Write Review |  Your Rating: 

You can see this and other great articles on design patterns here.

The decorator design pattern allows you to add features to an object dynamically. An example would be the search functionality in an application. You may need to search for employees such as salary, zip code, skills, and so on. The user may choose to enter any combination of search criteria, and it would be a daunting task trying to figure out all the possible combinations as the number of fields grow. The decorator patter...

Validation in .NET Framework 4  Version: 0.00     Price: $0.00  
Total Hits: 106  |  Today: 0Author: AbhishekGoenka      Rating:  
Read Reviews | Write Review |  Your Rating: 

In the .NET Framework 4, a namespace called System.ComponentModel.DataAnnotations is available for both the common CLR (WPF) and the lighter Silverlight CLR. You can use the DataAnnotations namespace for various purposes. One of these is for data validation using attributes, and another is the visual description of fields, properties, and methods, or to customize the data type of a specific property. These three categories are classified in the .NET Framework as Validation Attributes, Display At...

Windows Phone 7: How to Encrypt Communication with Desktop Application  Version: 0.00     Price: $0.00  
Total Hits: 115  |  Today: 0Author: Ondrej_Uzovic      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a simple example showing how to implement encrypted communication between Windows Phone 7 and standalone .NET application....

Text box to accept only number  Version: 0.00     Price: $0.00  
Total Hits: 208  |  Today: 0Author: Prasanta_Prince      Rating:  
Read Reviews | Write Review |  Your Rating: 

Just paste the Script Section in the Head section and in on key press call the function.
For C#, just paste the following code:...

Using the Raw Input API to Process Joystick Input  Version: 0.00     Price: $0.00  
Total Hits: 166  |  Today: 0Author: Alexander Böcken      Rating:  
Read Reviews | Write Review |  Your Rating: 

Microsoft discourages the use of DirectInput for keyboard and mouse input in games, but it is still recommended to process data from a legacy joystick, or other game controller. New applications should use the Raw Input API, i.e. to take advantage of computer mice generating data at 800 DPI or even more. Additionally, Microsoft introduced XInput to allow applications to receive input from the Xbox 360 Controller. Hence, game developers have to cope with up to three different APIs when designing ...

Study EVM (Earned Value Management) – Part 1  Version: 0.00     Price: $0.00  
Total Hits: 139  |  Today: 0Author: Wayne Ye      Rating:  
Read Reviews | Write Review |  Your Rating: 

During the past few days, I was studying Project Time Management in PMBOK, preparing for the upcoming PMP exam on 4th December 2010. While I spent a few hours on understanding/mastering EVM, I log my memory here....



Disclaimer - Privacy
© 2002-2014 DevASP.net