Export GridvView to PDF File in C#.NET

Filed in ASP.NET, Web AppTags: , , , ,

Previously We have exported the GridView control to Excel/CSV files. Today we are going to export the GridView to PDF File. Exporting the GridView to PDF is a different thing. Because we need some other references to perform this. I have add a reference ‘iTextSharp.dll’ to export into PDF. Also in this article the process of exporting GridView to PDF is performing on a button click. On the Page_Load() event we are binding the GridView with the Database. As you will procees in this article you will get the process step by step. Also I have attached a demo project so you can also download the project.

Read the rest of this entry »

How to Develop Resolution Independent Windows Application in .NET

Filed in ASP.NET, Desktop AppTags: , , , , ,

While developing a Windows based application in C#.net the Form size matters when your application is going to run on different different computers. Also the other computers system may have different different resolution. So we need to develop an application that can vary the form size according to the Resolution of the particular system. In this article I will tell you that how to fetch the Resolution of your computer system using C# code and then we will discuss that how can we set the size of the Form that can match the resolution size.

Read the rest of this entry »

Generating Crystal Reports Without Using Data Set File

Filed in ASP.NET, Desktop AppTags: , , , , ,

Crystal reports provide an efficient way to generate reports while developing applications in .net. Previously we discussed the crystal reports and generating reports using data set file(.xsd file). Today in this article we are going to generate the crystal reports without using any dataset file. In this article we are assigning the database table directly to the crystal report form. Then we will assign the crystal report file to Crystal Report Viewer. As we will read this article, we can learn the whole process step by step. Also with this article I am going to attach the demo project that will help you to learn the crystal process easily.

Read the rest of this entry »

How to Use Crystal Report in C#.NET

Filed in ASP.NET, Desktop AppTags: , , ,

Report is the most important part of any application whether the application is developed in .net or any other platform. We use to print various reports in the application. We can print reports using two types of reports. First one is just a simple report and the other is Crystal Report. The second method is better because Crystal Report provide some extra features with the report. We need to just drag and drop the column of the table to show their values. I have used the .NET Framework 3.5 to print Crystal Report. Also we need to add a Data Set file to print the report. In this article I will explain how to print crystal reports by screen shots.

Read the rest of this entry »

Build a Setup Project in ASP.NET

Filed in ASP.NET, Desktop AppTags: , , , , , ,

There are three types of applications in asp.net and that are Console Applications, Web Applications and Window Applications. Today we are talking about Window Applications. While developing Window Applications we need to remember the most import thing about the Window Applications work area. As we know that Window Applications or Window Projects run on the client system. and to run this projects on the client system we need to create a setup of the project. In this article we will discuss that how to build a setup project in ASP.NET. I have attached some screen shots that will help you to understand the process easily. We will proceed through step by step.

Read the rest of this entry »