Category - Windows Forms
Results 1 - 20 of 172
23 Nov 2020 23 Nov 2020 0 Comments  10248 Views
Here Mudassar Ahmed Khan has explained with an example, how to create Connection String in C# and VB.Net.

This article will illustrate how to create connection string for Windows and SQL Server based authentication for Windows Forms and Console Applications in C# and VB.Net.
12 Nov 2020 12 Nov 2020 0 Comments  7138 Views
Here Mudassar Ahmed Khan has explained with an example, how to reverse a String using C# and VB.Net.

This article will illustrate how to create a simple STATIC function which can be used in ASP.Net Web Forms, ASP.Net MVC, ASP.Net Core, Windows Applications and also Console Applications built in C# or VB.Net.
25 Jun 2020 25 Jun 2020 0 Comments  17016 Views
Here Mudassar Ahmed Khan has explained with an example, how to refresh DataGridView after record delete in Windows (WinForms) Application using C# and VB.Net.

When the Delete Button is clicked, a Confirmation MessageBox will be displayed and if the User clicks Yes button the Row will be deleted (removed) from DataGridView.

Then the DataGridView will be refreshed by again populating fresh data from the Database in Windows (WinForms) Application using C# and VB.Net.
23 Mar 2020 23 Mar 2020 0 Comments  19024 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind DataSet to RDLC Report in Windows Forms (WinForms) Application using C# and VB.Net.

The data from the Database will be loaded in a Typed DataSet which will be dynamically used to bind and populate the RDLC using Report Viewer in Windows Forms (WinForms) Application using C# and VB.Net.
23 Mar 2020 23 Mar 2020 0 Comments  10479 Views
Here Mudassar Ahmed Khan has explained with an example, how to load RDLC Report using Report Viewer programmatically in Windows Forms (WinForms) Application using C# and VB.Net.

The data from the Database will be loaded in a Typed DataSet which will be dynamically used to populate and load the RDLC using Report Viewer in Windows Forms (WinForms) Application using C# and VB.Net.
09 Mar 2020 09 Mar 2020 1 Comments  10363 Views
Here Mudassar Ahmed Khan has explained with an example, how to display records with Next Previous Buttons in DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

Limited set of records per Page will be displayed in DataGridView with the help of Stored Procedure.

When the Next Button is clicked, the next set of records will be fetched from Database and similarly when Previous Button is clicked, the previous set of records will be fetched from Database and displayed in Windows Forms DataGridView using C# and VB.Net.
20 Nov 2019 20 Nov 2019 0 Comments  8720 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Indian PAN Card Number validation in Windows Forms (WinForms) Application using C# and VB.Net.

When the Submit Button is clicked, the PAN Card Number in TextBox will be validated using Regular Expression (Regex) using C# and VB.Net.
01 Nov 2019 01 Nov 2019 0 Comments  14440 Views
Here Mudassar Ahmed Khan has explained with an example, how to check uncheck all (select unselect all) CheckBoxes in CheckedListBox in Windows Forms (WinForms) Application using C# and VB.Net.

The check uncheck all functionality will be done using an additional CheckBox that will act as Check All CheckBox for the CheckedListBox in Windows Forms (WinForms) Application using C# and VB.Net.
31 Oct 2019 31 Oct 2019 0 Comments  16585 Views
Here Mudassar Ahmed Khan has explained with an example, how to display Byte Array as Image in PictureBox control in Windows Forms (WinForms) Application using C# and VB.Net.

The Image file will be selected from Folder (Directory) using the OpenFileDialog control and then the chosen Image file will be converted to Byte Array and then displayed in PictureBox control in Windows Forms (WinForms) Application using C# and VB.Net.
30 Sep 2019 15 Dec 2020 0 Comments  44652 Views
Here Mudassar Ahmed Khan has written an informative article on how to download Crystal Reports for Visual Studio 2019 (VS 2019).

SAP Crystal Reports is available for FREE Download after registering to the SAP Community Website.
24 Sep 2019 05 Apr 2020 0 Comments  4903 Views
Here Mudassar Ahmed Khan has explained with an example, how to solve the problem: Crystal Report displays MHT File in Visual Studio.

By default, Crystal Reports is not installed in Visual Studio and hence the MHT File is being displayed. This article will guide you with steps required to download and install Crystal Reports for Visual Studio.
23 Aug 2019 23 Aug 2019 0 Comments  44374 Views
Here Mudassar Ahmed Khan has explained with an example, how to delete (remove) Rows from DataGridView and Database in Windows (WinForms) Application using C# and VB.Net.

When the Delete Button is clicked, a Confirmation MessageBox will be displayed and if the User clicks Yes button the Row will be deleted (removed) from DataGridView and Database in Windows (WinForms) Application using C# and VB.Net.
20 Aug 2019 20 Aug 2019 1 Comments  17088 Views
Here Mudassar Ahmed Khan has explained with an example, how to play (embed) YouTube videos in Windows Forms (WinForms) Application using C# and VB.Net.

The YouTube videos will be played in Windows Forms (WinForms) Application with the help of WebBrowser control and HTML IFRAME using C# and VB.Net.
02 Aug 2019 02 Aug 2019 0 Comments  11938 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) selected DataGridView Row from one Form to another in Windows Forms (WinForms) Application using C# and VB.Net.

When the DataGridView Row is clicked, the selected Row values of the DataGridView are passed (sent) to the other Form in Windows Forms (WinForms) Application using C# and VB.Net.
02 Aug 2019 02 Aug 2019 0 Comments  16262 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) DataGridView values to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

When the Button is clicked, a loop will be executed over the rows of DataGridView and the checked (selected) rows will be passed (sent) to another DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
31 Jul 2019 31 Jul 2019 0 Comments  15669 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) values from one Form to another in Windows Application (WinForms) using C# and VB.Net.

When the DataGridView Row is clicked, the Row Index of the selected DataGridView Row is determined and the values of the Cells are extracted and passed (sent) to the other Form in Windows Forms (WinForms) Application using C# and VB.Net.
17 Jul 2019 17 Jul 2019 0 Comments  16940 Views
Here Mudassar Ahmed Khan has explained with an example, how to bind (populate) ComboBox using Entity Framework in Windows Forms (WinForms) Application using C# and VB.Net.
16 Jul 2019 16 Jul 2019 0 Comments  19057 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement Entity Framework Database First Approach in Windows Forms (WinForms) Application using C# and VB.Net.

This article will illustrate how to use Entity Framework Database First Approach to populate DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  30427 Views
Here Mudassar Ahmed Khan has explained with an example, how to implement DataGridViewComboBoxColumn inside DataGridView in Windows Forms (WinForms) Application using C# and VB.Net.

The DataGridViewComboBoxColumn class will be used to add ComboBox in DataGridView and the items will be added to the ComboBox from Database in Windows Forms (WinForms) Application using C# and VB.Net.
07 Jun 2019 07 Jun 2019 0 Comments  27990 Views
Here Mudassar Ahmed Khan has explained with an example, how to set cell value of ComboBox in DataGridView programmatically from Database in Windows Forms (WinForms) Application using C# and VB.Net.

ComboBox will be added using the DataGridViewComboBoxColumn class and the items will be added to the ComboBox from Database.

Once the ComboBox is populated, the selected item will be set in ComboBox in Windows Forms (WinForms) Application using C# and VB.Net.
Results 1 - 20 of 172