Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / Visual-Studio / VS.NET2003

VS.NET2003

VS.NET2003

Great Reads

by Todd.Harvey
Imitate Windows Paint.exe using C# and CsGL
by Sadish Kumar.V
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
by Shivprasad koirala
.NET 4.0 MEF FAQ (Socket, Plug and extension)
by Johann Anhofer
Extend the VS6 IDE with .NET addins.

Latest Articles

by Todd.Harvey
Imitate Windows Paint.exe using C# and CsGL
by Sadish Kumar.V
This article will help you to open an MS-Word Document (Document or Document template) or MS-Excel sheet from server side code (ASP.NET) with minimum configuration efforts.
by Shivprasad koirala
.NET 4.0 MEF FAQ (Socket, Plug and extension)
by Johann Anhofer
Extend the VS6 IDE with .NET addins.

All Articles

Sort by Score

VS.NET2003 

by dontumindit
An Easy Way To Query a Database
by Andrew Rissing
The following samples should take advantage of using statements and furthermore built in features of the ADO.NET framework. Furthermore, if you open a connection, make sure you open it at the latest time possible and close it as soon as possible.Edit: While I was originally not trying to...
by FZelle
You are both wrong with the DataAdapter.Why do you think there is an overload with the querystring and the connectionstring?public DataSet select_query(string query, string con_str){ try { using (SqlDataAdapter da = new SqlDataAdapter(query,con_str)) { ...
by woric
The sample code provided by Andrew Rissing is a huge improvement over the original, but incorrectly catches the exception and displays a MessageBox. (Andrew correctly points out this is not a good idea.)A better solution is to allow the exception to fail:public DataSet...
by PrimeCoder
Nice,How about adding a couple of other methodspublic static void Parameter(IDbCommand command, string naam, object value){ IDbDataParameter par = command.CreateParameter(); par.ParameterName = naam; par.Value = value ?? DBNull.Value; ...
by Thinira
In this tip, we will discuss how to setup Angular 2.0 in Visual Studio and write a very basic “Todo” application.
by milkboy31415
This code transforms rotations and vectors between reference frames such as Unreal, 3d Studio Max, etc.
by FatzBomb
How to convert a written number to a numerical value anywhere in a string.
by Sreedhar Puligundla
Simple steps to create SQL joins by using SQL Server 2008 Management Studio
by Avatar2400
This is a simple class that allows you to have message box with checkbox and other small features.
by Sebastian Sosna
A simple program which lets you browse containers of your Active Directory
by Leon van Wyk
Send faxes with C# using Win 2k or XP
by Southmountain
Gems for typedef and namespace in C
by dontumindit
Communication with database in .NET is easy but sometimes one gets stuck by wrong format of connection string
by jim lahey
Or you could just pop over to:http://www.connectionstrings.com/[^]Use the exhaustive samples they provide and not hard code your connection strings by using a standard .NET configuration file:http://msdn.microsoft.com/en-us/library/1xtk877y.aspx[^]
by bipin9
goto Server Explorer right Click on DataBase Click on properties in properties window you will get Connection String copy it & use where you want use !!
by crocks256
The ConnectionStringBuilder classes in .NET can be quite handy...http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqlconnectionstringbuilder.aspx[^].
by MikkelAndersen
I get it from the web.config via ConfigurationManager.ConnectionStrings;This makes it possible to keep all connectionstring settings in the web.config file.For example: http://www.dreamincode.net/code/snippet1676.htm[^].
by B. Clay Shannon
Sending commands in a Compact Framework app via C# to a Zebra QLn220 printer
by dontumindit
While dealing with databases, sometimes there is a need to get a list of tables in the application
by Constantin Chumak
This is an alternative for "Locate SQL Server instances on the local network"
by Mack Ait-Aoudia
This article describe a solution to prevent some browser's functionnalities
by Norbert Eder
The article includes a sample project showing how to save the nodes of a TreeView into an XML file.
by prodrigues1990
Easy Assembly Version reflecting SVN working revision
by alifaraze
writing error in a text file is very easy but writing error from a custom assembly in reporting services requires permissions
by Alex Puchades
In this tip, XEndian, a header-only library will be presented