DataBase Method in C#