





DbObject – A base data class for common DB operations
‘ A base data class that makes it much easier for derived classes to run a ‘ stored procedure to retrieve data or execute a SQL command. (See usage ‘
‘ A base data class that makes it much easier for derived classes to run a ‘ stored procedure to retrieve data or execute a SQL command. (See usage ‘
When you add a user control to an ASP.NET page, Visual Studio .NET does not add a control declaration as it does when you add standard ASP.NET web controls. The
‘ Log an error/event to the Windows NT/2000 Application Event Log.’ Usage: LogEvent(“Message here”, EventLogEntryType.Information)Sub LogEvent(ByVal message As String, ByVal entryType As EventLogEntryType) If EventLog.SourceExists(Application.ProductName) = False Then EventLog.CreateEventSource(Application.ProductName, “Application”)
Say that you have a page loaded from another page, and that in this page you have a “Save and Return” button that does something and returns to the previous
‘ This class extends the base Exception class with a static method (callable ‘ also without creating and throwing an instance of this exception class) to ‘ log the contents