(Michael Richards) I spent several hours sifting through article after article about how to build tree navigations dynamically. They assumed that the order of the data coming in was ‘orderly’ and that you were usually using the IE Web Control toolkit which is a .Net 1.0 package. In our environment 2
Tag: Development
Multiplying Large Integers
(Jim Mischel) At its core, multiplication is simply repeated addition. Multiplying 2 by 3, for example, is the same as adding 2+2+2, or 3+3. So the simplest multiply operator we could write is:
.NET Tip: Creating a Thread-Safe Singleton
(Susan Moore) A singleton is used to ensure that there is only one instance of a class created. A singleton also provides the single point of access to that one instance of the class. Singletons can be used for a wide range of reasons, from a better means of managing global variables to creating abs
C++ Application failed to start after Visual Studio upgrade
Your VC++ application may not launch on target machines due to a missing Microsoft DLL dependency.
First Chance Exception and XamlParseException
(Ged Mead) I suspect that most of us have become so used to seeing the message that reads:- ” A first chance exception of type ‘System.ApplicationException’ occurred in WindowsApplication1.exe ” that it hardly hits our conscious thoughts any more.
Overview of the ASP.NET Framework
(Stephen Walther) If you are using Visual Web Developer or Visual Studio, you first need to create a new website. Start Visual Web Developer and select the menu option File, New Web Site. The New Web Site dialog box appears (see Figure 1.1). Enter the folder where you want your new website to be cre
Designing N-Tiered Data Access Layer Using Datasets – Part 3
(David Catherman) The Dataset Editor in Visual Studio 2005/8 assists in the design of a data entity structure and generates a set of classes that meets the requirements of a good object relation mapper (ORM). This article shows the code that needs to be added to provide tier separation and how it ca
Convert HTML tables to a DataSet
(Mark Smith) I recently needed to do some “screen scraping” from a locally installed 3rd party web application and then do some data manipulation based on the results. The application in question wrote the results out to the page inside tags and there were several of these tables on the page
Fall In Love with Visual Basic All Over Again in Visual Studio 2008
(Michael S. Jones) You undoubtedly know by now that Visual Studio 2008 was released to manufacturing in November, just in time for Christmas. It comes wrapped up with a new version of Visual Basic, which includes (among others) these great new features:
Troubleshooting Expired ASP.NET Session State and Your Options
(Scott Hanselman) I have a love/hate relationship with the ASP.NET Session. It’s such a convenient place to put things, but when you start putting applications into production there are a number of less-than-obvious edge cases that can come up and bite you.
