Monthly Archives: February 2011

Export To A Text File From A DataGridView Control

Save Data From A DataGridView Control To A Text File Steps: Create a new C# project. Add a button control to Form1. Add a DataGridView Control to Form1. Double click on the form, and copy and the code below into

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

Dynamically Create and Execute a Batch File Using Visual Studio

Create a directory called “c:\bat”. Create a directory called “c:\zip”. Copy some .zip files to “c:\zip” Create a new Visual Studio C# application. Add a button to Form1. Double click on button1 and copy and paste the code below into

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

Display A Text File In A DataGridView

Create a text file on your hard drive, copy and paste this code into the text file, and save your changes. FIELD1;FIELD2;FIELD3;FIELD4 1;2;3;4 5;6;7;8 9;10;11;12 13;14;15;16 Complete the following steps: Create a new Visual Studio C# Application. Add a DataGridView

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

Visual Studio Write to a Text File

Visual Studio C# Write to a File: In order to test this code, do the following: Create a new Windows Application Add a New form Add a textbox to the form; use the default name for the textbox. Make sure to

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

Facebook Tip – Find Out What Other Facebook Users Are Posting

If you happen to be a University of Alabama fan, and a Facebook user, and you would like to know who is currently posting about your favorite team. Do the following: In the ‘Search’ box in the top center of

Tagged with: ,
Posted in Facebook Tips

Oracle-Use ROWNUM To Return Row Count

Oracle ROWNUM Reserved Field Use reserved field, ROWNUM in SELECT Statement to return record number in the data output: SELECT ROWNUM, FIELD1, FIELD2, FIELD3 FROM YOUR_TABLE Returns: ROWNUM FIELD1 FIELD2 FIELD3 1 F1VAL1 F2VAL1 F3VAL1 2 F1VAL2 F2VAL2 F3VAL2 3

Tagged with: , ,
Posted in Oracle

Remove An Application From Facebook

If you would like to get rid of an application from your Facebook, do the following: In the upper right hand corner of the screen, click ‘Account’. Click ‘Privacy Settings’. On the bottom left hand side of the screen, under

Tagged with: , ,
Posted in Facebook Tips