コード例 #1
0
        public void updateDataSorce()
        {
            apd621_60011212001Entities context2 = new apd621_60011212001Entities();

            dataGridView1.DataSource = context2.ProductNews
                                       .Where(p => p.product_status == 1)
                                       .ToList();
        }
コード例 #2
0
        public void updateDataSource()
        {
            apd621_60011212001Entities context2 = new apd621_60011212001Entities();

            memberBindingSource.DataSource = context2.Members.Where(m => m.member_status == 1).ToList();
        }
コード例 #3
0
        public void updateDataSource()
        {
            apd621_60011212001Entities context2 = new apd621_60011212001Entities();

            dataGridView1.DataSource = context2.Employees.Where(p => p.employee_status == 1).ToList();
        }