DEV4 Blog

Loading...

ASP

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="GeneratePdf.aspx.vb" Inherits="SampleApp.GeneratePdf" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title&





Read more...
Published on 17 Sep 2017

1. Create an error table.


2. Set up a Stored Procedure to manage the error handling in your database.
CREATE PROCEDURE [dbo].[uspLogError] 
    @ErrorLogID [int] = 0 OUTPUT  -- Contains the ErrorLogID of the row inserted
  &


Read more...
Published on 25 Aug 2017

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 the



Read more...
Published on 08 Aug 2017

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 the


Read more...
Published on 12 Jul 2017

Classes differ from standard modules in the way their data is stored. There is never more than one copy of a standard module’s data. This means that when one part of your program changes a public variable in a standard module, and another part of you

Read more...
Published on 21 Jun 2017

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="Ra
Read more...
Published on 08 May 2017

If you use Distribution Groups to send mass emails in Outlook or Exchange, you may not be aware that email failures are not reported to the Distribution Group.

This is out the box functionality.

In this circumstance, bounced emails can only be sent to


Read more...
Published on 22 Mar 2017
Published on 16 Mar 2017

    Using Win search, type mmc, and then press enter. On the File menu, click Add/Remove Snap-in.

    1. Under Available snap-ins, click Local Group Policy Object Editor, click Add, select the computer whose local Group Policy object (GPO) you want to edit and t
    Read more...
    Published on 10 Mar 2017

    You can temporarily take your IIS site down using a file called app_offline.htm

    When this file resides in the root of your site, all future request for pages will be denied and the User shown the contents of app_offline.htm

    Note; existing connections t



    Read more...
    Published on 28 Feb 2017