VB .Net Tutorial

A tutorial on Visual Basic …

Archive for the ‘VB’ Category

Print a DataGridView in VB.Net

without comments

VB.Net Tutorial:Datagridview Printing in VB.Net

There will be situations to just print a DataGridView in a application than designing again the columns and rows in a Crystal Report. But in .Net there is no straight forward way to do this or in other words this is not supported natively. This article is based on article from Visual Basic.Net Tutorial. To print the Datagridview we need to draw all the objects using Graphics Object given in the PrintDocument before calling print method in the respective PrintDocument. Read the rest of this entry »

Written by admin

February 9th, 2011 at 1:09 am

Posted in VB

Fixed Header GridView

without comments

Like spreadsheet processors GridView as well has the capability in displaying the data in the tabular format. But unfortunately there is no native support for this freezing functionality. Even worse there is no built in support for GridView scrolling. We need to write our own CSS to obtain scrolling.
I would like to share how this can be achieved with Styles and CSS for the fixed header GridView.. Read the rest of this entry »

Written by admin

November 23rd, 2010 at 1:53 pm

Posted in VB