Hey all I have this code:
tmpConnString = string.Format(ConfigurationManager.ConnectionStrings["devConn_HRDB"].ConnectionString, _tmpValuesBack[3], _tmpValuesBack[1], _tmpValuesBack[4], _tmpValuesBack[2]);
And its referencing this in the web.config file:
<connectionStrings>
<add name="devConn_HRDB" connectionString="Data Source={0};User ID={1};Password={2};Initial Catalog={3};"/>
</connectionStrings>
And the error I am getting with the _tmpValuesBack[3], _tmpValuesBack1, _tmpValuesBack[4], _tmpValuesBack[2] is:
Method name expected
So I'm not really sure what its asking for there...._tmpValuesBack is defined as a string[] _tmpValuesBack = getHRPW().Split('|'); array.