(Irina Medvinskaya) You’ll find that using enumeration in your VB.NET code comes in handy whenever you need to establish a set of related constants in your application and set their values. In this quick tip, I give an example of how using enumeration makes code easier to develop and read.
Tag: Development
ASP.NET: Make GridView Control Accessible
(Mads Kristensen) The GridView is a new web control in ASP.NET 2.0 and is an improvement of the old DataGrid.
Data Migration: Plan to Succeed
(Ashish Nadkarni) Data migration is the process of migrating data from one location to another. It is not something new to the storage industry. Almost every IT organization has had to move data at some point or the other. There are different reasons for doing so: hardware gets obsolete and has to b
Data Bound Applications with ADO.NET and Custom Objects
(John Papa) The Windows Forms binding controls are vastly improved descendents of the data binding controls of the past. They get you going quickly and handle the redundant tasks associated with setting up forms, and you can customize and extend their behavior significantly. Data can travel in a var
How To Compare Two Files with VB.NET and VB2005
(Mike McIntyre) This article and source code demonstrate how to use Visual Basic 2005 to compare two files to determine if they are equal. This comparison looks at file paths, file lengths, and file contents. NOTE: While source code for VB.NET is not provided, the CompareFiles function included in t
Analyze your managed .NET code with FxCop
(Tony Patton) I have never met a programmer who doesn’t make a coding mistake from time to time. Tracking down and addressing these issues can be one of the most important aspects of your job. The next time you need to analyze your managed .NET code, I recommend using Microsoft’s FxCop tool to track
The Trial-and-Error Method for Data Architecture
(Rick Sherman) As a coach of my sons’ soccer teams, I’ve noticed something that occasionally holds back the ambitious players. Rather than focusing on basics, such as learning good ball control, they are seduced by the lure of scoring. But without good basic skills, they don’t have the ability to sc
Handling Database Writes in Data Access Layer Management
(Paul Kimmel) My first article on this topic demonstrated database reads-to-entities. Reads are relatively easy. Just read one or more result sets and build objects; you don’t need transactions. This article demonstrates database writes. The write part of managing a data access layer (DAL) is where
The .Net Developer And SQL Server: Know Your Locks
(George P. Alexander, Jr.) In my last post on what we .Net developers would need to know regarding SQL Server, we had a look at how locking comes into the picture with respect to performance in our application. We understood why Locks are necessary: basically to maintain data concurrency. ie, while
Dynamically Templated GridView with Edit, Delete and Insert Options
(G Mohyuddin) In many situations we want to bind a fully, in-place operational GridView with a dynamically changing data source. This article shows how GridView can be templated programmatically at run time and how is it possible to do edit, insert and delete operations on it. Although just binding
