Click here to Skip to main content
15,889,281 members
Everything / .NET / .NET 2.0

.NET 2.0

.NET2.0

Great Reads

by Jeffrey Walton
Import and export Cryptographic Keys in PKCS#8 and X.509 formats, using Crypto++, C#, and Java.
by Steve Krile
Fully AJAX-enabled user control used to select names from a database in a drop-down format.
by Waleed Elkot
Reading text from any image using Microsoft Office 2007 OCR
by dotnetdan
VS 2005 debug visualizers for DataSet, DataTable, DataView, DataRow and DataColumn objects.

Latest Articles

by Shivprasad koirala
6 steps to enable transactions in WCF
by Shivprasad koirala
This article explains plug and play architecture using policy application blocks.
by Claudio Nicora
An extended NumericUpDown control with better focus and mouse wheel management.
by Toby Patke
Clearcove.Logging is a very simple logging library designed to meet most logging needs with straight-forward licensing terms.

All Articles

Sort by Updated

.NET 2.0 

27 Nov 2012 by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
9 May 2013 by Abhay@Accenture
17 Apr 2012 by abhinavshastri
How to Call WebService Dynamically and Read WebService Definition
10 Sep 2009 by Abhishek Sur
It is to be noted, .NET has lately introducedResponse.RedirectParmanent() after a long await. The main motive of this is tohave permanent response redirection to the Search Engines.Response.RedirectParmanent() is an extension function introduced in .NET 4.0.Themain motive of it is to indicate
21 Nov 2012 by AdamNThompson
A reusable component for makeing REST service requests using C#
30 May 2012 by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
25 Feb 2013 by ajaynarewade
This is helper class to post serialized objects (Data) to other page in asp.net.
19 Sep 2013 by alifaraze
writing error in a text file is very easy but writing error from a custom assembly in reporting services requires permissions
31 Aug 2012 by alwaysrun
Find the files that have the same contents in under special folder
15 Jun 2014 by Amin Esmaeily
This trick is about how to effectively reduce reserved memory by process.
11 Feb 2010 by Amit M patel
How to code for Delegate In this artical explains basic understanding for delegate and how to create nad use delegate. This code for .net framework for C# This artical is usefull...
18 Feb 2010 by Ank_ush
How to change the background color for an MDI parent form in Visual C#This article demonstrates how to programmatically change the background color for a multiple-document interface (MDI) parent form by using Visual C#.When you use a Windows Form as an MDI parent form, the Application...
9 Jan 2016 by Ankush Bansal
Trick to draw a border of any color and width around any winform control
10 Jun 2010 by Anshul R
The Perfect Translation/Conversion of Code
27 May 2011 by Anshul R
Dim value As Boolean = My.Computer.Network.IsAvailable can be used in a situation where the only network a system will be connected to is the Internet.Dim value As Boolean = My.Computer.Network.Ping(hostNameOrAddress ,timeout) hostNameOrAddress can be any valid website -...
18 Mar 2012 by Anton Pious Alfred
The MVC Pattern was first conceptualized assuming all the three actors were present at one place. Since Web Applications have both a client and a server this needs to be applied differently without technology bias.
20 May 2012 by Anup Kumar Verma
Printer independent Watermark on webpage print in asp.net & C#
14 Oct 2012 by AnuragTripathi
Convertor for Unicode to Krutidev and vice-versa.
12 Mar 2014 by apis3445
With C# and the Windows API, you can execute a program in a second monitor.
24 Apr 2014 by Arvind Singh Baghel
I am writing code to encrypt password in connection string in config file and decrypt password while getting connection from config file.
17 Dec 2012 by AshishChaudha
This tip describes how to export data to an Excel file from a GridView.
14 May 2014 by atlaste
How to fix hiding controls in the Visual Studio user control designer
11 Sep 2016 by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
29 Mar 2012 by barrd
Fix an exception related to ISupportInitialize.BeginInit and learn why it happens.
14 Feb 2014 by BenScharbach
How-To Convert a String Collection to a Multi-Enum item using TryParse
20 Nov 2011 by Bernhard Hiller
That's far too obscure.All you need to do is store a reference to the TabPage instance which was removed from the TabPages collection of the TabControl. You may use the form where the TabControl is placed for that purpose.You could also create your own TabControl which has an extra property...
29 Sep 2010 by BillW33
Instead I would use double buffering. Just use the linethis.SetStyle(ControlStyles.AllPaintingInWmPaint |ControlStyles.UserPaint | ControlStyles.DoubleBuffer, true);There is a nice article on double buffering Win Forms here[^].
13 Jan 2011 by bmatha
Contains the custom control (Predictive Search Control) developed in .NET Framework 2.0
2 Dec 2009 by bobishkindaguy
A simple entry box for various numbers, especially phone numbers.
12 Mar 2010 by boblogan
GCSSecurity (34.9 KB)IntroductionHands off crypto - useful for protecting app.config values and performing install time machine fingerprinting...BackgroundRecently I was asked to provide better security / encryption on several data items normally contained within a CONFIG file.......
13 Nov 2013 by BrokenEvent
Simple and fast .NET XML parser without using System.Xml
1 Aug 2014 by Bryan Lyman
A method for duplicating a web page (including all scripts and styles) to run as if it originated from your own server, then modify server-side and client-side functionality afterwards.
8 Sep 2008 by cesar_boucas
A custom derivative of ServiceHostFactory to control how WCF service hosts are created.
29 Jun 2010 by crackruckles
Days Left Timer VBS self deleting
17 May 2010 by Daniel Ben-Sefer
Album Example - 5.68 MBIntroductionI often have the need to show pictures with captions as seen above.My objective is to be able to do so dynamically, so that all I need to do is to create a folder on my PC whose name equals the title of the page ("Sample Pictures" in the image...
6 Mar 2015 by Darkencrow
A multi-drawer style collapsable UI container
6 Jun 2010 by Darren DeLoach
Sometimes you need a WSE3 client to send an MTOM-encoded request, but accept either an MTOM or non-MTOM response. While the WSE3 server classes support "MTOM optional" the client does not. Here's a quick solution to the problem.Assume you have generated your WSE3 web service proxy class....
22 May 2010 by DaveAuld
Here is a better evaluation of performance in .Net of the If / Switch operations;http://www.blackwasp.co.uk/SpeedTestIfElseSwitch.aspx[^]
14 Jan 2020 by David A. Gray
The routines in this library can parse any string that I can throw at it, including Common Name strings read from X.509 Digital Certificates.
15 Feb 2013 by Dread_Sharp
How to build an easy plugin system with C# which only takes about 30 lines of code!
24 Apr 2013 by drewman5150
Simple jQuery ASP.NET Slideshow
18 Aug 2014 by Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
30 Aug 2014 by Emiliarge
2 ways to read and write data to *.xls and *.xls files and display it on DataGridView.
20 Dec 2011 by emolina
Public Sub DisableSound() Dim keyValue As String keyValue = "%SystemRoot%\Media\" If Environment.OSVersion.Version.Major = 5 AndAlso Environment.OSVersion.Version.Minor > 0 Then keyValue += "Windows XP Start.wav" ElseIf Environment.OSVersion.Version.Major = 6 Then ...
7 Jun 2013 by FatzBomb
How to convert a written number to a numerical value anywhere in a string.
1 Nov 2012 by Fenil Desai
Check which .NET Framework version is installed from command line
25 Dec 2011 by Gandhi Ashish
Checking Internet Is Connected Or Not From .NET
18 Sep 2014 by Gautham Prabhu K
Creating and using Service Locator pattern
17 May 2010 by girlprogrammer
In a class, when we preceed a class member (variables/methods) with the keyword "static" in C# or "shared" in VB.Net then the 2 things gets added to the behavior of the variable:-The class member could be accessed without creating instance of the class. The class member will shared across...
28 Apr 2015 by Hassan Alrehamy
JSON Deserialization in depth concept and Dictionary mapping. Special Thanks to Dr. Coral Walker
11 Oct 2013 by heemanshubhalla
How to use Masked Textbox control in .NET
16 May 2010 by Hemant__Sharma
I always find this thing while doing code reviews and that is a performance issue. The above point I haven’t found anywhere as a performance issue, so I thought to share it.Scenario: There is a function in which one need to extract 10-20 values from an object for example a column value from...
29 Oct 2012 by Hernán Hegykozi
Show you how to make a connection dialog developed completely from scratch.
27 Jan 2015 by HiDensity
Class providing methods to count up a string using a definable character set.
22 Apr 2013 by Hossein Shahpouri
Learn how to share ASP.NET sessions on different websites
3 Apr 2013 by In the Face of God
Generalize to access data in a database via HTTP
19 Apr 2013 by indianDEV
Re-sizing images to equalize the width & height
16 May 2011 by J a a n s
For C# guys....using System ;using System.Runtime ;using System.Runtime.InteropServices ;public class Internet{ [DllImport("wininet.dll")] private extern static bool InternetGetConnectedState( out int Description, int ReservedValue ) ; public static bool...
6 Mar 2014 by Jacky Yiu
Visual cryptography is a cryptographic technique which allows visual information (pictures, text, etc.) to be encrypted in such a way that the decryption can be performed by the human visual system, without the aid of computers.
11 Jan 2018 by Jesusfan
Create a draggable, proper splash screen in DotNet, with gradient transparency!
25 Mar 2013 by jkirkerx
Basically a slideshow script, but more simple in design and easier to deploy.
10 Dec 2013 by JRINC
Connect to remote socket via System.Net.Sockets.Socket.Connect method with timeout controlled by System.Threading.Timer
5 Apr 2017 by Juan Francisco Morales Larios
Useful Actions for debugger in System.Diagnostics
14 Jun 2014 by Kaveh Yazdi Nezhad
A simple solution to capture entire HTML code of a web page which is displaying on Internet Explorer
13 Nov 2011 by KazMaxLtd
This article describes how to hide or show TabControl tabs at runtime
1 Jan 2014 by Kees van Spelde
To encrypt or not to encrypt with C# .NET
30 May 2013 by KK Kod
How to compress JavaScript and CSS files in a web application to reduce page loading time, using GZIP.
10 Feb 2016 by Kouji Matsui
This library is simple and is a substitution of System.String.Format.
13 Feb 2013 by KRISHNA PRASAD.N
This paper would provide a small code snippet which will report all files from VSS (Visual SourceSafe 6.0) with shared reference instances. It will be useful for migrating files from VSS to TFS.
18 Mar 2010 by Madhav Shastri
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Globalization;namespace ConsoleApplication1{ class Program { static void Main(string[] args) { //String s = "17-03-2010"; //DateTime...
26 Apr 2012 by Manoj K Bhoir
A Glass style progress bar
5 Jul 2012 by Matthias Böhnke
Bug Fixes for Reading Barcodes from an Image - III
10 Jul 2014 by maz2331
License Key class to make generating and validating keys easy.
12 May 2012 by Md. Rashim Uddin
XML Serialization and Deserialization in c#
24 Mar 2010 by mdanh2002
Depending on system preferences (in Control Panel/Sounds), the .NET WebBrowser control (just like Internet Explorer) may produce a click sound when changes are made programmatically to its DocumentText property, which is irritating to the user.There are two ways to avoid this:1. Use...
25 Oct 2012 by Member 3783976
Implement function in C# to emulate functionality of mysql_real_escape_string() C API function.
21 Dec 2011 by Member 8208766
To me the second method was problematic. After searching, I found an apparently equally good solution:webBrowser1.DocumentText = text;or in your case:webBrowser1.Document.Write("Hello, world!");from here:...
30 Apr 2013 by Michael Rosqvist
If you want to measure something on the screen, here is a utility.
14 Jun 2013 by Mike Meinz
Source code to demonstrate the creation of a new task in Windows Task Scheduler.
7 Oct 2014 by Milad Ashrafi
We need this script for database based ASP.NET websites for using HTML content in post pages.
14 May 2012 by Mohamed Amine Aboura
Using Google Search By Image within your .NET application
30 May 2013 by Mohammed Hameed
Check-in/Check-Out mechanism for TFS - To avoid Build errors and improve productivity.
25 Oct 2013 by Monotosh Roy Mon
XML Serialization & Deserialization for converting our object to XML and XML to Object
6 Oct 2013 by Muhammad Ahmed Azam
"Database Driven Dynamic Menu Control"
6 Aug 2012 by Mukund Thakker
16 Apr 2014 by munagalasantosh
Get all the array index where the sum equals or is greater than some x value
9 Jan 2014 by nasir_ml
ASP.NET textbox validation made easy.
12 Mar 2013 by Nelson Kosta Souto
Running the same compiled assembly on Windows and Linux.
26 Dec 2013 by Nelson Kosta Souto
Run .NET Windows forms 2.0 on Ubuntu 13.04
20 Jan 2014 by Nirav Prabtani
CTE Query for optimizing complexity of query in sql server
28 Dec 2012 by Nishith Jain
Balloon tool tip for the text box.
27 Jan 2010 by osiris mckinney
My contribution to my fellow developers & to make our life easier. The following code allow the user to filter out a gridview depending on their Selection. 'Here is the Complete Code Behind that handles the GridView and 4 'Different DropDownlist each one representing a Filter....
16 May 2013 by Pasan Eeriyagama