Am using 3 layered Architecture in my application, as per the requirement am implementing Enterprise Library for Logging and Exception Handling.
As per the documentation i modified the UI Layer Web.Config file. Exception handling is working fine in UI Layer, am trying to implement the same in Business Layer with different Policy for Exception Handling.
Even the policy is configured in web.Config.
But the system...
Search Result
Collapse
3 results in 0.0036 seconds.
Keywords
Members
Tags
-
Enterprise Library Exception Handling
-
SQL Injection: Parameters Collection
Microsoft recommends using the parameters collection at this link to help prevent SQL Injection.
I am using the following code snipet
Code:cmd.CommandText = "SELECT plazaName from Plaza WHERE zip=@ZipCode"; cmd.Parameters.Clear(); cmd.Parameters.Add("@ZipCode", SqlDbType.VarChar, 4); cmd.Parameters["@ZipCode"].Value = "45840";
-
Try - Catch Sample Programs
Hello sir,
Please Give me any examples of Exception Handling Techniques in VB.Net 2005.
Thanks sir.....