Vous êtes sur la page 1sur 2

.

NET Developer Evaluation Test


OZI Solutions Pvt. Ltd.
September 16, 2013

Read all before start working on

1. Create a database on MS SQL Server using following script

USE [master]
GO
CREATE DATABASE Test
GO
USE Test
GO
CREATE TABLE Person
(
SysID INT IDENTITY(1,1) NOT NULL PRIMARY KEY,
UserName VARCHAR(50) NOT NULL,
FirstName NVARCHAR(50) NULL,
LastName NVARCHAR(50) NULL,
DOB DATE NULL,
[Address] NVARCHAR(350) NULL,
ZIP INT NULL,
Mobile NVARCHAR(15) NULL,
Email NVARCHAR(150) NULL
)
GO
CREATE PROCEDURE FindByUserName @userName NVARCHAR(50)
AS
BEGIN
SELECT
SysID,
UserName,
FirstName,
LastName,
DOB,
[Address],
ZIP,
Mobile,
Email
FROM
Person
WHERE
UserName = @userName
END
GO

2. Add few rows of sample data for testing

3. Using visual studio, (you are free to use any preferred version >2008) create
an empty solution and add web site and windows forms project to solution.

4. Develop the default.aspx page of web application to


a. Add user
b. Find & Update user; Use provided FindByUserName stored procedure to
find user

Page 1 of 2
.NET Developer Evaluation Test
OZI Solutions Pvt. Ltd.
September 16, 2013

You need to use ADO.NET to access data from Test database (Use one of
namespaces System.Data.SqlClient or System.Data.OleDb)
5. Modify the default form on windows forms application to
a. View users in a DataGridView
b. Delete user
c. Provide an option to check whether User records have been modified
after retrieval for viewing; you can create a button [Check for updates]
and on click traverse through each row checking for modifications in
application records database records.
i. If record has updated change the font color to Red
ii. Implement a method to update only modified record given that
user already checked for the updates
You need to use ADO.NET Entity framework model to access data from Test
database

6. At end of windows form code behind file write the logic in point form (no need
to implement) as comment lines to check for updates of records and to
update DataGridView without user interaction (Imagine a record is updated
outside of windows forms client)

Deliverables
The visual studio solution files as one zip archive

Note:
You are free to refer any online resources or any of your previous work during
test.

Page 2 of 2

Vous aimerez peut-être aussi