I keep trying to pass my code vb
to c # , with the help of you I managed to advance a little, now I am in this situation:
mCnxSifco
is the variable of my setting that stores my connection string in the project.
This is my code of VB
that I need to pass to C#
:
this.Item("mCnxSifco") = acCnxApp.Trim.Replace("qmasuser", acUserId);
When I do this:
this.mCnxSifco =acCnxApp.Trim.Replace("qmasuser", acUserId);
I mark an error that is only read or that there must be a variable on the left, and I only need to replace the new string that forms in the setting variable.
Thanks