Print a DataGrid Alone from an ASP.NET Web Page

Ever wanted to print a DataGrid alone from an ASP.NET Web page? Put an tag inside the tag does the trick. Here are the steps involved:

  1. Enclose the tag inside the

    tag.

  2. Write a JavaScript function which takes care of printing the content from
    tag.

Here’s an example:

...............
Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: