Desktop Application provide various features that keep it more strong then other applications. When we talking about printing any document then the first question arrives in our mind is how can we print in .net application. The first solution comes in our mind ‘Using Crystal Report’. As we discussed in past that how to use crystal report today we will go for another method. When we are talking about printing and need to database access inside the form then I will prefer this method.
Good news for all software developers in the country. Now you can easily manage the applications from the desktop and work on different projects. The application will not only help you to manage your work better, but will also assist in completing the task soon. Now, you can save time by editing all essential facts and figures from the desktop of the system. To get introduced to this unique system, just come to the http://www.dotnetaid.com. Download the software, install and edit all your essential tasks from the desktop application.
DataGridView control is used in desktop application to show the record values in tabular format, As we used GridView in web application. But the difference is the GridView is easy to customize. We can easily use the paging in gridview. But when we use DataGridView we need to do so manually. There are some functionality that we can apply on datagridview control. We can hide any particular column after fetching the data from the table, we can change the width of the column as well as we can change the header text that we want to put manually.
A Combobox control in window application is used to show the field values in list as we use DropDown List control in Web Application. And when we fill this combo box control there are two methods. First we fill the field values by adding items manually and in the second method we fill the combo box using Databse table. We need to create a connection with database and then we fill the combo box using data reader or data adapter. But what should the better solution if we have to fill the combobox in multiple pages or form.
As we know that while interacting our SQL database to our C#.net or VB.net application we need to access the connectionstring of the SQL database. Once we access the connectionstring then we can use this to execute the SQL commands in our coding page. Now the question is when we have multiple forms in our desktop application we need to write the connectionstring on each window form to access the SQL database. So guys what to do to ignore this multiple writing of connectionstring on each form? To avoid this we use an app.config file into our desktop application as we use the web.config file in web application. As we describe our connectionstring once in this app.config file we can access this connectionstring multiple times on multiple forms from app.config file. in this article we will tell you the process to access this.
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.
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.
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.
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.