there isn't any direct solution for this, but you can use a web service in your web application that get the web.config connection strings.
namespace test
{
/// <summary>
/// Summary description for WebService1
/// </summary>
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
[System.ComponentModel.ToolboxItem(false)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
// [System.Web.Script.Services.ScriptService]
public class WebService1 : System.Web.Services.WebService
{
[WebMethod]
public List<string> Conns()
{
var items = System.Configuration.ConfigurationManager.ConnectionStrings.Cast<string>().ToList();
return items;
}
}
}
this web service return all connections in a list!
this is a base for you, go ahead and read online resources for help and if you have question about this ask again!