The compilation is disabled by default. In order to enable it, modify the Properties/AssemblyInfo.cs file.
Backing up your database may not be enough to ensure you can respond to a Disaster Recovery incident.
For the purposes of this article, we'll use MS SQL Server without replication, as our working example.
Public Class SessionsRead more...
Private Sub New()
blnPriceListActive = false
Public Shared ReadOnly Property Current As Sessions
RESTORE HEADERONLY FROM DISK = <path to backup file>
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="GeneratePdf.aspx.vb" Inherits="SampleApp.GeneratePdf" %>Read more...
1. Create an error table.
2. Set up a Stored Procedure to manage the error handling in your database.
CREATE PROCEDURE [dbo].[uspLogError]Read more...
@ErrorLogID [int] = 0 OUTPUT -- Contains the ErrorLogID of the row inserted
Using an AJAX call and a web service method.
Code behind method to get objects;
In the web service, a GET endpoint retrieves this data in JSON format;
On client-side, a successful AJAX GET request (to the above method) calls the function which uses theRead more...
Telerik's RadGrid requires that users hold the Ctrl key for selecting multiple rows, similar to Windows Explorer. Enable multi row selection without holding the Ctrl key programmatically using the following approach.ASPX
<telerik:RadGrid ID="RaRead more...
If you are using Identity Specification to auto increment the primary key on your table, you may want
to reset the starting increment number because you have emptied the table. This is called reseeding and can be done with the following code.
Open theRead more...