Click here to Skip to main content
13,051,413 members (61,818 online)
Rate this:
Please Sign up or sign in to vote.
See more:

I'm developing a c# window application.
I want a standard function to insert, update and delete data on database which I can use for any window form, for any table or for any fields in table.
(That means I don't want to specify table or field name for every time inserting/updating tables in window form.)

Can I use class for that purpose?

If yes please help me with the code of it.

I think it should be done through 3 tier architecture, but I'm unable to implement it.

Am I Right?

Thanks In Advance!
Posted 7-Dec-10 20:52pm
Updated 7-Dec-10 21:57pm
Dalek Dave433.3K
Dalek Dave 8-Dec-10 3:57am
Edited for Grammar, Syntax and Readability.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

mvc is for web application..Which is based on server client concept..
hope the following link may help you...
Understanding ASP.NET MVC (Model View Controller) Architecture for Beginners[^]
Dalek Dave 8-Dec-10 3:57am
Good Call. (I made the URL a Link)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 28 Sep 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100