(Scott Mitchell) One of the main challenges of building a programming framework is balancing the desires to create a standardized, straightforward API for accomplishing common tasks and providing flexibility and customizability so that developers using the framework can mold the framework to fit the
Tag: Development
Generic DataGridView
(Yildirim Kocdag) DataGridView is a new control which is more flexible for coding than a simple datagrid. However, there are a lot of developers who are facing diffulties about DataGridView Calendar, Mask, ComboBox and also Validations. Actually, DataGridView does not support such as important prope
Accessing the Web.Config at Design Time for ASP.NET 2.0 Controls
(Damon Armstrong) One of the things that has always bothered me about the ASP.NET validation controls is that it sometimes takes two or three of them to validate a particular field. Say, for example, that you have a password field you want to validate. Normally it’s required, has a minimum and maxim
Malicious code injection: It’s not just about SQL anymore
(Bryan Sullivan) The good news: Developers are becoming increasingly aware of the threat posed by SQL injection attacks and the pitfalls of leaving pre vulnerable to such attacks. The bad news: there are other types of pre injection attack, including LDAP injection and XPath injection, that can be j
Set the current working path with VB.NET
(Irina Medvinskaya) An ability to set the current working path often comes in handy if a developer wants to be able to use relative paths instead of absolute paths in the code. In this tip, I explain how to set the current working path using VB.NET.
Applied Reflection: Creating a dynamic Web service to simplify code
(Zach Smith) Many developers are using Web services to communicate with their business logic, and there are a lot of advantages to this. This approach allows a wide range of flexibility in the architecture that would otherwise be very hard to come by. However, there are also a few disadvantages. One
Creating a Crosstab Report in Visual Studio 2005 Using Crystal Reports
(Jayaram Krishnaswamy) Reporting is one of the major tasks in any enterprise and reporting software occupies a prominent position in enterprise software suite. There are multitudes of reporting software vendors; among them Crystal Reports has a large following with a variety of products designed fo
Color DataGridView Cells Based On Data with the Windows Forms DataGridView and Visual Basic 2005
(Mike McIntyre) This blog, and the source code it provides, demonstrate how to handle the Windows Forms DataGridView CellFormatting event to set the BackColor of a cell based on the cell’s value.
Create generic database code using ADO.NET 2.0 Provider Factories
(David Jeavons) The new DBProviderFactory class lives in the System.Data.Common namespace. Within this Namespace you will see the usual suspects such as DbConnection, DbDataAdapter, DbCommand etc., but note how they are all prefixed with Db. Each of these classes are abstract classes and implement t
Beautify Your UIs with Perfect Pen and Brush Control
(Rod Stephens) If you’ve done any Windows graphics programming at all, you know about Pens and Brushes. Pens determine the characteristics of lines, such as color and thickness. Brushes determine the characteristics of filled areas, notably the fill color.