Grid_View_Form

    1| using System;
    2| using System.Collections.Generic;
    3| using System.ComponentModel;
    4| using System.Data;
    5| using System.Drawing;
    6| using System.Linq;
    7| using System.Text;
    8| using System.Windows.Forms;
    9| 
  10| //add references
  11| using System.Data.OleDb;
  12| using System.Collections;
  13| using System.IO;
  14| using DB_Interface_DLL;
  15| 
  16| namespace PC_SPY_Menu
  17| {
  18|     public partial class Grid_View_Form : Form
  19|     {
  20| 
  21|         public Grid_View_Form(string sTable)
  22|         {
  23|             InitializeComponent();
  24| 
  25|             dataGridView1.DataSource = DB_Interface_DLL_Class.MyDBDataSet;
  26|             dataGridView1.DataMember = sTable;
  27|         }
  28| 
  29|     }
  30| }