Hi,
I want to write a single stored procedure for insert ,update, delete and that too in code behind in aspx page using c#. How do i write it please suggest.. I have read somewhere that for maintaince purpose it is good to write stored procedure in code behind instead of writing in database.


Mamta MRank #268 · 9.4K reputationPosted Nov 17, 2011, 7:47 PM EST
http://www.c-sharpcorner.com/Forums/Thread/149222/dynamically-generate-sql-query-in-code-behid-using-C-Sharp.aspx
However if that's not what you want, and you want a simple stored procedure in which the names are pre-fixed, then that's very easy. But first you need to clarify to us what you want.
B M SuchitraRank #2,922 · 492 reputationPosted Nov 17, 2011, 7:57 PM EST