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.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Ravi ShekharPosted Jul 20, 2013, 3:00 AM
Mark it as answer if it helped.
Dinesh LiyanagePosted Jul 20, 2013, 2:11 AM
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 ShekharPosted Jul 20, 2013, 1:14 AM
and edit ,update is a task. which can perform using oops concept.
Dinesh LiyanagePosted Jul 20, 2013, 1:08 AM
Ravi ShekharPosted Jul 20, 2013, 12:59 AM
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