Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

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
Updated 7-Dec-10 21:57pm
v2
Comments
Dalek Dave 8-Dec-10 3:57am    
Edited for Grammar, Syntax and Readability.

1 solution

hi...
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[^]
 
Share this answer
 
v2
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900