Пример #1
0
        private void populateGrid()
        {
            string selectStatement = "SELECT member_name as 'Member Name', username as 'Username' , role as 'User Role' FROM user";

            DatabaseHandler.populateViewwithNoParameters(selectStatement, dataGridView1);
        }
        private void populateGrid()
        {
            string selectStatement = "SELECT hospital as 'Hospital', identifier_code as 'Identifier Code' , area as 'Area', contact_name as 'Contact Name',contact_number as 'Contact Number', email as 'Email' FROM CLIENT";

            DatabaseHandler.populateViewwithNoParameters(selectStatement, dataGridView1);
        }