Category - Windows Forms
Results 21 - 25 of 161
26 Apr 2019 26 Apr 2019 0 Comments  652 Views
Here Mudassar Ahmed Khan has explained with an example, how to export DataGridView to HTML in Windows Forms (WinForms) Application using C# and VB.Net.

First a DataGridView will be populated with some data using DataTable and then an HTML Table will be generated using the values from the DataGridView.

Finally, the HTML Table string will be saved to a Folder (Directory) in Windows Forms (WinForms) Application using C# and VB.Net.
25 Apr 2019 25 Apr 2019 0 Comments  3368 Views
Here Mudassar Ahmed Khan has explained with an example, how to encrypt and store Username or Password in SQL Server Database Table and then fetch, decrypt and display it in Windows Forms (WinForms) Application using C# and VB.Net.

The Username or Password will be first encrypted using AES Symmetric key (Same key) algorithm and then will be stored in the database.

The Decryption will be done by fetching the encrypted Username or Password from Database and then decrypting it using the same key that was used for encryption.
16 Apr 2019 16 Apr 2019 0 Comments  3894 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add and remove controls in Windows Forms (WinForms) Application using C# and VB.Net.

The TextBox control and its associated Delete Button control will be dynamically created on Button click. When the Delete Button for a TextBox is clicked, the TextBox and the Button controls will be removed.
15 Apr 2019 15 Apr 2019 1 Comments  6381 Views
Here Mudassar Ahmed Khan has explained with an example, how to dynamically add and remove TextBox in Windows Forms (WinForms) Application using C# and VB.Net.

The TextBox and its associated Delete Button will be dynamically created on Button click. When the Delete Button for a TextBox is clicked, the TextBox and the Button will be removed.
05 Apr 2019 05 Apr 2019 0 Comments  1387 Views
Here Mudassar Ahmed Khan has explained with an example, how to pass (send) values from DataGridView to TextBoxes 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 TextBoxes in Windows Forms (WinForms) Application using C# and VB.Net.
Results 21 - 25 of 161