This article gives a sound idea how to write secure code for ADO.NET. Data Access Layer (DAL) is a common and very curtail for your application. Its very important know some of the basic security points while writing ADO.NET program.
These are the some of the basic security points every body should keep in mind while working with ADO.NET or database.