How to make the connection command in sql and sql query command in different function and then to link them to exequte the query in the web service and to call them in the main function

SQLConnection
SQLCommand

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.