Programming Examples

Are you a Programmer or Application Developer or a DBA? Take a cup of coffee, sit back and spend few minutes here :)

RDLC Report & ReportViewer Control in C#

Designing the RDLC Reports - Page Header & Footer, Report Header, Footer & Details

In this RDLC Reports tutorial, we will explore how to generate the RDLC Reports using the Microsoft supplied report template (.RDLC file). We get the data from the ‘Titles’ table of the Microsoft supplied ‘Pubs’ database. In this example, the ReportViewer Control acts as a presentation UI.  To generate the report on the database table, we will use following things:

‘DataSource’ that supplies the data from the database.
‘Report Template’ that defines the visible elements and its location. [.RDLC file]
‘ReportViewer Control’ supplied by the dot net framework.
‘C-Sharp Form’ that houses the ReportViewer control in it.

Continue Reading →

Publish Application With One-Click Install

Publishing C# Application to a Shared Location

Publishing the application in a shared location is useful and pays off for both publisher and clients subscribed to the published application. In the publisher point of view, they no need to cut CDs and ship to every client. Also from the end user point of view, they will get the update to the application that they are using.

This example will explore,

Publishing the application in Network shared path
Providing the Update notification to the Client
Pushing the updates forcibly to the Installed client location

Continue Reading →