Sir,
Need to create commands in separate class file and then need to access the result on code. Kindly show a demo OR any reference.
I have used connection and commands on same page. Therefore need to segregate commands and connections using class file. I have searched on NET and got that we need segragate according to Business Logic and Data Logic. The data logic should contain all Databse related logics. And Business Logic should contain all other code files.
But didn't got any reference or sample code for this, actually how to start building this type of application.