Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
In Microsoft Excel, connect to a database by:
Showing the SQL connection option in Microsoft Excel

Aspose.Cells provides the Workbook.getDataConnections() method for retrieving external connections. It returns a collection of ExternalConnection objects in the workbook.
If the ExternalConnection object contains SQL connection data, it can be type‑cast into a DBConnection object, and its properties can be used to retrieve the database command, command type, connection description, connection info, credentials, and so on.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.