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 > Visual Studio 2005 > C# 2.0
Search:
What's New - What's Hot
Listings for Add-Ons Add-Ons (3)
Listings for Compiler Compiler (1)
More Categories for DataBase DataBase (9)
Listings for Debugging Debugging (2)
Listings for Design and Strategies Design and Strategies (1)
Listings for Events & Delegates Events & Delegates (5)
Listings for File Management File Management (3)
Listings for Graphics&Charts Graphics&Charts (8)
Listings for Language Reference Language Reference (14)
Listings for Migration to C# Migration to C# (3)
Listings for Object Oriented Programming Object Oriented Programming (16)
Listings for Refactoring Refactoring (4)
Listings for Remoting Remoting (5)
Listings for Sample Programs Sample Programs (20)
Listings for Scripting Scripting (2)
Listings for Security & Encryption Security & Encryption (1)
Listings for Serialization Serialization (1)
Listings for Server Controls Server Controls (9)
Listings for Threading Threading (4)
Listings for User Controls User Controls (11)
Listings for Windows Form Windows Form (11)
 


super Statement  Version: 0.00     Price: $0.00  
Total Hits: 12  |  Today: 0Author: Microsoft Corporation      Rating:  
Read Reviews | Write Review |  Your Rating: 

Optional in syntax 1. A comma delimited list of arguments for the base-class constructor.
member

Required in syntax 2. Member of the base class to access....

Volume File Renaming for the Eccentric  Version: 0.00     Price: $0.00  
Total Hits: 6  |  Today: 0Author: thund3rstruck      Rating:  
Read Reviews | Write Review |  Your Rating: 

Multi-File Renamer is a simple Windows Forms application I created to assist me with renaming thousands of files. It's as simple a program as one could imagine, and it's not cluttered with difficult user selected options and other garbage that you see in most file renaming tools. The things you can do with this are:
* Replace strings in file names (supports RegEx)
* Add prefix to files names
* Add suffix to files names
* Change file names to uppercase
* Change ...

Generic Search Web User Control with event     
Total Hits: 61  |  Today: 0Author: S Sansanwal      Rating:  
Read Reviews | Write Review |  Your Rating: 

This control provides a functionality to search a table based on the name column. The user interface uses DataGrid to display the records and the control fires an event trapped by the container to process the request....

Check if JavaScript is Enabled from Server-Side Using an User Control     
Total Hits: 79  |  Today: 0Author: KrushnaSamanta      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is an alternate design approach using an ASP.NET user control to determine if the users have either purposely or inadvertently disabled JavaScript on their browsers, and either submit the form to perform some actions from server-side or navigate to another non-JavaScript page....

An Alternate Way of Writing a Multithreaded GUI in C#     
Total Hits: 97  |  Today: 0Author: Keith Balaam      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article outlines an alternate method of writing a responsive multithreaded Windows Forms GUI in C#. When I say "alternate," I mean a technique that does not follow the current Microsoft mantra that only the thread that created a GUI control should interact with it. This technique should only be considered when one or more controls in your GUI are processing tens or hundreds of messages a second, causing the GUI to become unresponsive. Typically this is true when using real-time data feeds. ...

The Big Problem of WYSIWYG Editors     
Total Hits: 64  |  Today: 0Author: real_coder      Rating:  
Read Reviews | Write Review |  Your Rating: 

You use WYSIWYG editors in your web apps, don't you ? Do you like the loading speed of a page that contains WYSIWYG editor ? I don't like slow loading of page and I think that most of the WYSIWYG editor has too much useless options, so I created fast loading editor (no images)....

Build a Web Chat Application Part 2 - Chat with Other Users Privately (in C# 3.5)     
Total Hits: 78  |  Today: 0Author: junnark@gmail.com      Rating:  
Read Reviews | Write Review |  Your Rating: 

In Part 1 we built a very simple, flicker-free, frame-less, web chat application using ASP.Net 3.5, LINQ-to-SQL, AJAX and MS SQL Server, with your choice of either C# 3.5 or VB 9.0 in about 2 hours. As promised, we will add functionality to our previous chatroom application so that users will have the ability to chat with each other privately. You can read and download the code of Part 1 in C# 3.5 here, or in VB 9.0 here....

The New Lambda Expressions Feature in C# 3.0     
Total Hits: 128  |  Today: 0Author: Vipul Patel      Rating:  
Read Reviews | Write Review |  Your Rating: 

C# 2.0 (released in November 2005) introduced a new feature, anonymous methods, that allows you to declare your method code inline instead of with a delegate function. Lambda expressions, a new feature in C# 3.0, have a more concise syntax to achieve the same goal. Take a closer look at anonymous methods before discussing lambda expressions....

Create Elegant Code With Anonymous Methods, Iterators, And Partial Classes     
Total Hits: 38  |  Today: 0Author: Juval Lowy      Rating:  
Read Reviews | Write Review |  Your Rating: 

Fans of the C# language will find much to like in Visual C#® 2005. Visual Studio® 2005 brings a wealth of exciting new features to C#, such as generics, iterators, partial classes, and anonymous methods. While generics is the most talked-about feature, especially among C++ developers who are familiar with templates, the other new features are equally important additions to your Microsoft® .NET development arsenal as well. These important features and language additions will improve your overall ...

Extending System.Diagnostics     
Total Hits: 29  |  Today: 0Author: Krzysztof Cwalina      Rating:  
Read Reviews | Write Review |  Your Rating: 

The System.Diagnostics namespace in the Microsoft® .NET Framework contains powerful tracing capabilities. This includes the main tracing API: TraceSource. As you will see, the tracing APIs in System.Diagnostics support powerful extensibility. In this column I'll describe advanced extensibility scenarios and various ways to customize the tracing APIs. I'll also discuss API design principles, in particular designing for extensibility with inheritance, containment, and generic types....

What's New for WCF in Visual Studio 2008     
Total Hits: 74  |  Today: 0Author: Juval Lowy      Rating:  
Read Reviews | Write Review |  Your Rating: 

Visual Studio® 2008 and the underlying Microsoft® .NET Framework 3.5 offer new tools and support for Windows® Communication Foundation (WCF). They don't change the basic capabilities of WCF 1.0 (released with the .NET Framework 3.0); rather, they extend and complete it.
Visual Studio 2008 automates manual WCF tasks, which includes updating proxy references, and eliminates repetitive tasks such as creating simple host projects. Visual Studio also addresses some tough problems such as cross-tar...

Implementing Callbacks with a Multicast Delegate     
Total Hits: 30  |  Today: 0Author: Ted Pattison      Rating:  
Read Reviews | Write Review |  Your Rating: 

This month's column is a follow-up to the December 2002 installment in which I introduced the basic concepts and programming techniques associated with delegates. I am going to assume you have already read that column and that you are familiar with the fundamentals of programming delegates. For example, you should know how to define a delegate type, how to create a delegate object that's bound to a handler method, and how to execute the handler method by calling the delegate object's Invoke meth...

Running Queries On Multi-Core Processors     
Total Hits: 103  |  Today: 0Author: Joe Duffy and Ed Essey      Rating:  
Read Reviews | Write Review |  Your Rating: 

Multi-core processors are here. Once pervasive mainly in servers and desktop PCs, now multi-core processors are being used in mobile phones and PDAs, resulting in great benefits in power consumption. Responding to the increased availability of multi-processor platforms, Parallel Language Integrated Query (PLINQ) offers an easy way to take advantage of parallel hardware, including traditional multi-processor computers and the newer wave of multi-core processors....

Beginning SharePoint 2007 Administration: Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007     
Total Hits: 63  |  Today: 0Author: Göran Husman      Rating:  
Read Reviews | Write Review |  Your Rating: 

Search engines are among the greatest time savers. Just look at how often you use MSN Search or Google, just to mention a couple of them. On the Internet, searching is absolutely critical, since you have no idea where information is stored, and there may be new sources one minute from now. That is why you search all the time. This is not really that different from the way you use your internal network. True, the volume of information is much smaller in your network, and you know where at least s...

How to change screen resolution in C#     
Total Hits: 375  |  Today: 0Author: Joshy George      Rating:  
Read Reviews | Write Review |  Your Rating: 

It is a sample program It will demonstrate how to change resolution at runtime.
All programmers are facing common problem is how to change screen Resolution dynamically. In .Net 2005 it's very easy to change the screen resolution. Here I will explain you how can we get the screen resolution and how we will change the resolution dynamically and while unloading the page it will come as it was before. In .NET we can access the values of user's screen resolution through the Resolution class. It a...

Working with normal and static constructor in C# 2.0     
Total Hits: 230  |  Today: 0Author: Uday Denduluri      Rating:  
Read Reviews | Write Review |  Your Rating: 

This Code snippet explains when a normal constructor and static constructor gets initialized. After going through this code snippet, reader gets a clear cut understanding of the steps involved in object initialization (Both static and non-static).
In C#, constructor is defined as a method which gets called whenever an object is created. A constructor may or may not have arguments without any return type. In C#, we also have static constructors. Static constructors are used to initialize Stati...

Delete obsolete SMS clients     
Total Hits: 73  |  Today: 0Author: ESTANNY.      Rating:  
Read Reviews | Write Review |  Your Rating: 

Deleting the obsolete SMS clients can really be a pain in the ass. Especially at environments where a few 100 SMS clients get obsolete every day....

Stored Procedure Generator [Advance]     
Total Hits: 321  |  Today: 0Author: Mustafa Magdy.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is based on my friend's "Paul Watson" that he has been introduced from a while.
I made some changes here to it to make it more powerful and more efficient.
First let me get some text from "Paul Watson" article to help you get involve ........

Add, Edit, and Delete in DataGridView     
Total Hits: 370  |  Today: 0Author: Jayant Kulkarni      Rating:  
Read Reviews | Write Review |  Your Rating: 

The article, or rather a code snippet, demonstrates a simple application that inserts, updates, and deletes by using DataGridView. The application uses asynchronous architecture for most calls to database. This shows that, without hanging the UI, you can allow a user to continue with his tasks. The application has the following outline:
1. Gets all SQL servers' instances from the network.
2. Gets all databases from the selected instance. If the user provide an empty user name or pass...

Find the nearest color with C# - Using the Euclidean distance between two colors     
Total Hits: 219  |  Today: 0Author: _vt_.      Rating:  
Read Reviews | Write Review |  Your Rating: 

This small method provides a algorithm to find the nearest (or "most similar") color in a given "colorspace" compared to a given single color. This is done by searching for the least Euclidean distance between the two colors. The Euclidean distance can be computed in an arbitrary n-dimensional space. In this implementation, the value for the alpha-component of the given color to "approximate" is NOT used. In the sample I have used a little bit code written by Julijan Sribar (http://www.codeproje...



Disclaimer - Privacy
© 2002-2012 DevASP.net