Example #1
0
File: Form4.cs Project: deloyar/PPL
        private void Form4_Load(object sender, EventArgs e)
        {
            db_ppl    Connstring = new db_ppl();
            DataTable dt         = Connstring.SqlDataTable(@"SELECT * FROM [PPLDEV].[hrd].[Employee]");

            pplDataGridView1.DataSource = dt;
        }
Example #2
0
        private void Form8_Load(object sender, EventArgs e)
        {
            db_ppl    Connstring = new db_ppl();
            DataTable dt         = Connstring.SqlDataTable(@"SELECT * FROM [PPLDEV].[dbo].[Users]");

            this.pplDataNavigation1.Datatable = dt;
        }