Click here to Skip to main content
15,880,469 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 Score

.NET 2.0 

15 Feb 2013 by Dread_Sharp
How to build an easy plugin system with C# which only takes about 30 lines of code!
19 Mar 2012 by Rishikesh_Singh
The article displays how to save user setting or preference at run time.
7 Oct 2014 by Milad Ashrafi
We need this script for database based ASP.NET websites for using HTML content in post pages.
28 Apr 2015 by Hassan Alrehamy
JSON Deserialization in depth concept and Dictionary mapping. Special Thanks to Dr. Coral Walker
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...
27 Jun 2012 by Technoses
The above code will slow down the browser and the browser can hang when Rows in Grid will be 10000 or above.Please view the below suggestion:CS Codeprotected void grvGroups_RowDataBound(object sender, GridViewRowEventArgs e){ if (e.Row.RowType == DataControlRowType.DataRow) { ...
17 Apr 2012 by abhinavshastri
How to Call WebService Dynamically and Read WebService Definition
5 Jul 2012 by Matthias Böhnke
Bug Fixes for Reading Barcodes from an Image - III
29 Mar 2012 by barrd
Fix an exception related to ISupportInitialize.BeginInit and learn why it happens.
25 Feb 2013 by TnTinMn
UpdateDefaultButton - Allows detecting change in ActiveControl
14 Feb 2014 by BenScharbach
How-To Convert a String Collection to a Multi-Enum item using TryParse
28 May 2014 by Thava Rajan
Copy and insert data at any postion in your datagridview
27 Jan 2015 by HiDensity
Class providing methods to count up a string using a definable character set.
4 Feb 2015 by Richard Roe
Example to show how to update an ASP.NET GridView control using Ajax JQuery client side script
11 Sep 2016 by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
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....
20 Sep 2012 by Sreedhar Puligundla
Simple steps to create SQL joins by using SQL Server 2008 Management Studio
25 Mar 2013 by jkirkerx
Basically a slideshow script, but more simple in design and easier to deploy.
9 May 2013 by Abhay@Accenture
14 Jun 2013 by Mike Meinz
Source code to demonstrate the creation of a new task in Windows Task Scheduler.
11 Oct 2013 by heemanshubhalla
How to use Masked Textbox control in .NET
25 Oct 2012 by Member 3783976
Implement function in C# to emulate functionality of mysql_real_escape_string() C API function.
27 Nov 2012 by Aadhar Joshi
Creating job in sql server which automates taking backup of all stored procedures and functions in physical drive.
19 May 2013 by Yossi Yaari
A solution for monitoring Events called during test.
19 May 2013 by Yossi Yaari
A basic yet generic state machine implementation
14 May 2014 by atlaste
How to fix hiding controls in the Visual Studio user control designer
29 Jun 2010 by crackruckles
Days Left Timer VBS self deleting
13 Jan 2011 by bmatha
Contains the custom control (Predictive Search Control) developed in .NET Framework 2.0
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:...
12 Sep 2012 by Praveen Kumar Chauhan (PRK)
Sending Data Through XML to web Services
5 Oct 2012 by TheCoolCoder
Numbering for Multilevel ASP.Net Treeview using CSS Counters
28 Dec 2012 by Nishith Jain
Balloon tool tip for the text box.
25 Feb 2013 by ajaynarewade
This is helper class to post serialized objects (Data) to other page in asp.net.
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
24 Apr 2013 by drewman5150
Simple jQuery ASP.NET Slideshow
4 Jan 2016 by PIEBALDconsult
Attempts to resize a Form to show the entire table of a DataGridView
8 Dec 2009 by Your Display Name Here
How to use WebBrowser, a form, and an MDI parent to open Excel files
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...
14 May 2012 by Mohamed Amine Aboura
Using Google Search By Image within your .NET application
13 Jun 2012 by Ravi Lodhiya
An attacker would point to a “harmful” web site or content and you would only see a short URL which would not tell anything about the original URL.
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.
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
16 Aug 2015 by Wombaticus
A beginner's introduction to using data classes in ASP.NET.
13 Nov 2013 by BrokenEvent
Simple and fast .NET XML parser without using System.Xml
17 Dec 2012 by AshishChaudha
This tip describes how to export data to an Excel file from a GridView.
6 Apr 2013 by Thomas Daniels
A tip about how to set the position of a Windows Forms MessageBox in C#
29 Oct 2012 by Hernán Hegykozi
Show you how to make a connection dialog developed completely from scratch.
26 Apr 2012 by Manoj K Bhoir
A Glass style progress bar
15 Jan 2013 by Yugal Pandya
Database driven N-Level Dynamic Menu Control using C#.NET and SQL Server with stylesheet CSS
21 Nov 2012 by AdamNThompson
A reusable component for makeing REST service requests using C#
12 Mar 2014 by apis3445
With C# and the Windows API, you can execute a program in a second monitor.
23 May 2014 by Stephan Stricker
30 May 2012 by Ahsan Murshed
This article gives ideas to developers to increase development time productivity using the free Visual Studio 2010 extensions.
1 Nov 2012 by Fenil Desai
Check which .NET Framework version is installed from command line
1 Jan 2014 by Kees van Spelde
To encrypt or not to encrypt with C# .NET
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...
10 Jul 2014 by maz2331
License Key class to make generating and validating keys easy.
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.
6 Aug 2012 by Mukund Thakker
3 Jun 2013 by Philipp_Engelmann
This tip describes how to resize an existing image (e.g. uploaded by a user) so it does not exceed a defined size limit.
9 Jul 2012 by Technoses
Partial downloading of files.
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 ...
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
29 Dec 2015 by Rajesh Buddaraju
A simplified example is used to describe the state pattern
25 Oct 2013 by Monotosh Roy Mon
XML Serialization & Deserialization for converting our object to XML and XML to Object
30 May 2013 by Mohammed Hameed
Check-in/Check-Out mechanism for TFS - To avoid Build errors and improve productivity.
8 Jul 2012 by Technoses
This process can be used for management of bulky and long processes.
18 Jan 2013 by Tawani Anyangwe
A dead simple HTML Sanitizer (and HTML Parser) you can use to clean user HTML input.
8 Aug 2013 by Peter T. Ringering
A complete replacement to Microsoft's Date/Time Picker control.
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.
12 May 2012 by Md. Rashim Uddin
XML Serialization and Deserialization in c#
26 Nov 2014 by Sambhav Yadav - Sam D Silva
ASP.NET page/master page/user control's life cycle from the perspective of Session and View State
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[^]
16 May 2013 by Pasan Eeriyagama
30 May 2013 by KK Kod
How to compress JavaScript and CSS files in a web application to reduce page loading time, using GZIP.
16 Jan 2012 by Robby Tendean
Simple implementation guide for log4net in a VB.NET web application.
18 Aug 2014 by Emiliarge
Read and write data to Access databases without limitations caused by the use of the SQL.
27 Jul 2015 by Shru37
Modified code from another article to consider field repetitions while converting HL7 message to XML
30 Aug 2014 by Emiliarge
2 ways to read and write data to *.xls and *.xls files and display it on DataGridView.
20 Jan 2014 by Nirav Prabtani
CTE Query for optimizing complexity of query in sql server
27 Aug 2012 by the retired
High performance C# byte array to hex string to byte array.
25 Dec 2011 by Gandhi Ashish
Checking Internet Is Connected Or Not From .NET
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 -...
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...
6 Oct 2013 by Muhammad Ahmed Azam
"Database Driven Dynamic Menu Control"
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[^].
20 May 2013 by Sunil P V
How to access a 64bit registry key from 32bit built application in .NET 3.5 and lower
6 Mar 2015 by Darkencrow
A multi-drawer style collapsable UI container
9 Jan 2014 by nasir_ml
ASP.NET textbox validation made easy.
4 Jun 2013 by Qwertie
A fast and simple algorithm.
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