RSS Feed
  1. Export GridvView to PDF File in C#.NET

    April 17, 2012 by Sourabh Sharma

    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.

    (more…)


  2. How to Develop Resolution Independent Windows Application in .NET

    April 10, 2012 by Sourabh Sharma

    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.

    (more…)


  3. Generating Crystal Reports Without Using Data Set File

    April 6, 2012 by Sourabh Sharma

    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.

    (more…)


  4. How to Use Crystal Report in C#.NET

    April 3, 2012 by Sourabh Sharma

    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.

    (more…)


  5. Build a Setup Project in ASP.NET

    April 2, 2012 by Sourabh Sharma

    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.

    (more…)


  6. Implementing Skew Transformation in WPF

    March 28, 2012 by Tim

    In this article we are going to perform the one of the basic Transformation technique that is Skew Transform. The term Transformation means perform rotation with the object. The rotation can be performed on the x-axis or may be on y-axis. he term Skew means to turn or place something at an angle or on its side. In this article we are implementing the Skew Transform in four different different directions. These directions are any angle of X or angle of Y or center of X or center of Y. We are doing all this task in a WPF application of .NET. Firstly we will discuss about the controls used to perform this. then we will discuss that how we can implement the Skew Transform in the WPF application.

    (more…)


  7. Binding Combobox Control With Multiple Columns of Database Table

    March 27, 2012 by Sourabh Sharma

    Previously we have discussed that how to bind Combo box control with Database Table’s column in WinForm. Today I will tell you that how to bind a Combo box control with multiple columns of a particular table. The way of binding is very simple. We are not writing extra code or not writing any complicated code to perform this task. Just in this article you will get what you are doing to perform this. Also we are fetching records in SqlDataReader and then binding multiple columns with Combo box Control. I have attached a project that will guide you to implement this task technically. Also I am attaching the coding of the page that will help you to learn the process.

    (more…)


  8. SQL Server Database Backup and Restore Database

    March 26, 2012 by Sourabh Sharma

    While working with database we need to store our information time to time. and for that purpose we take the backup for that database. Backing up a database provide many solutions for us. The main thing is if we lost our database from SQL Server then we can restore our database from our computer. Also when we perform changes in our database the backup database automatically update the changes to the backup file. In this article we are going to create a backup file of Database. The backup file always contain the extension (.bak). Also we are going to learn how to restore the database later in the article.

    (more…)


  9. Fetching Records from Multiple Tables in SQL Database

    March 23, 2012 by Sourabh Sharma

    When we are working with Tables in Database we need to perform some basic operation with Tables. These operations may be inserting records, updating records etc. The most important operation we need to know about the table is fetching records from the Table, also we can say retrieving records from tables. Sometime we need to retrieve records from multiple tables. When we are talking about more than a table the term “JOIN” comes in our mind. Because we use to Join two or more tables. The Joining of two or more table is very easy to implement in SQL Database. but we need to understand the basic concept of Joining. In this article we are fetching records from two tables using a simple query(not joining tables). Also we have used alias name for both tables.

    (more…)


  10. TreeView Navigation Control in ASP.NET

    March 21, 2012 by Sourabh Sharma

    Previously we have discussed about Navigation controls in ASP.NET. Also we saw that how to use the SiteMapPath control for navigation between pages. Today we are going to use another Navigation control. The control is TreeView control. TreeView control is also used to navigate from one page to other page in an ASP.NET web application. Using the control in our web application is very simple. We need to drag and drop only the TreeView control from the Toolbar. Also after dragging and dropping the TreeView Control we need to add the nodes so that we can navigate from one page to other page easily. In this article you will see very small and simple example that will show you to use the control.

    (more…)