DataGridView With OleDbDataReader
-
03 October 2007
Framework: 2.0
Windows Application
This simple program shows you how to populate a DataGridView control using a OleDbDataReader object. It shows how to set up the column headers and determin the data type of a column.
DataGridView With DataTable
-
03 October 2007
Framework: 2.0
Windows Application
Very simple example shows how to use the OleDbDataAdapter to fill a DataTable and then use the DataTable to populate a DataGridView control.
Get Logged In User Using secur32.dll
-
30 September 2007
Framework: 2.0
Windows Application
This code sample demonstrates how to get the logged in username using GetUserNameEx and secur32.dll.
Flash Window Title Bar
-
30 September 2007
Framework: 2.0
Windows Application
This program demonstrates how to flash a forms title bar repeatedly using a timer.
Convert Image Bytes[] To Base64 String
-
25 September 2007
Framework: 2.0
Windows Application
This program open an image file for reading in binary mode. The bytes is then converted to a Base64 string. The string can be copied from the textbox and embeded into your programs.
Screen Capture
-
21 September 2007
Framework: 2.0
Windows Application
This program captures the desktop screen and displays it as the forms background image.
Desktop Items
-
21 September 2007
Framework: 2.0
Windows Application
This program is a small utility that displays all the folders on your desktop in a transparent bar which stays fixed at the top of the screen. By clicking on a folder, the explorer window is opened showing the contents of the folder.
Connect To MySql Using Connector/Net
-
21 September 2007
Framework: 2.0
Windows Application
This program connects to a MySql database on the localhost using Connector/Net which is a fully-managed ADO.NET driver written in 100% pure C#. This example uses a MySqlDataReader object to fetch the table rows from the database.
Custom DataGrid
-
16 September 2007
Framework: 2.0
Windows Application
This sample application demonstrates how to develop a simple DataGrid control using a TableLayoutPanel and array Labels at runtime. You can make the first row a header. The control also adds scrollbars if the columns and rows need to be scrolled.
MS Access Example
-
16 September 2007
Framework: 2.0
Windows Application
This simple program shows how to get connected to a MS Access database with very little code.
1
2
3
4
5
6
7
8
9
10
11
12