Blog Archives

Visual Studio: Display A File List In A DataGridView Control

This example also shows how to extract an icon image from a file in a windows directory and display the icon in a DataGridView Control.  One advantage of displaying a list of files in the DataGridView Control, is that you

Tagged with: , , , , , , ,
Posted in Visual Studio Code Examples

Visual Studio String Functions-CSharp

string sHold = “”; int nIndex = 0; //Replaces a string with a specified string. sHold = “String Test”; sHold = sHold.Replace(“String”, “Replace”); //Returns “Replace Test” //Removes a specified number of characters from a string //The first number is the

Tagged with: , , , , ,
Posted in Visual Studio Code Examples