Make .CS & .VB files one line per statement
I am writing a substitution program and need to substitute all ocurances of a connection string, which many of the times runs over to the next 2 or 3 lines.
thanks,
David
I am writing a substitution program and need to substitute all ocurances of a connection string, which many of the times runs over to the next 2 or 3 lines.
thanks,
David
David, this isn't really the right forum to get a good answer for that question. I'm not really sure which forum is the right forum, so I'm going to start with VB General.
HTH
Dan
This website lists a bunch of different indent style programs that will do what you are trying to accomplish.
I know this isn't exactly the answer you are looking for, but why are you hard coding the connection string in your application? It is often preferable to include this information in the .config file which allows you to change it based on deployment and not need to recompile the application. If you are concerned with security, the connection string can be encrypted in the config file. (Which is much better than trying to keep it "secure" by just compiling it since .Net applications are easily de-compiled.)
Jim Wooley
http://devauthority.com/blogs/jwooley