Hi All,
I am trying to start a windows based database application with C# and SQL server. I am aware about the OOPs concepts in C# but I am unable to think of how I can bridge those concepts to my application development. Please advise ,,,,
Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ravi ShekharRank #673 · 3.6K reputationPosted Jul 19, 2013, 8:59 PM EDT
for example,
we have a common class file and a method below...
we can call above method from any page/form easily. I mean to say that there is no need to write code for database connectivity on every page. we can make these one in a common class file.and call on any page easily.
Regards,
ravi
Dinesh Liyanage5 reputationPosted Jul 19, 2013, 9:08 PM EDT
Ravi ShekharRank #673 · 3.6K reputationPosted Jul 19, 2013, 9:14 PM EDT
and edit ,update is a task. which can perform using oops concept.
Dinesh Liyanage5 reputationPosted Jul 19, 2013, 10:11 PM EDT
Rather coding with usual opening connection adding data and closing the connection (like in normal structured language) .
Is it the general practice ? Please advice...
Ravi ShekharRank #673 · 3.6K reputationPosted Jul 19, 2013, 11:00 PM EDT
Mark it as answer if it helped.