Caterpillar Interview Question

How you connect db and retrive data from C# scripts