Rabbit
Can you just put your code snippet for replacing double \\ with single \
User Profile
Collapse
-
SirZizo
there is a big problem, the data in textbox is ok, but just use a breakpoint on the textbox and on runtime you will file double \\ in the variable (string file).
I need that one to be chagedLeave a comment:
-
replacing double \\ with single \
...Code:OpenFileDialog openFileDialog1 = new OpenFileDialog(); openFileDialog1.InitialDirectory = "C:\\Program Files\\Microsoft SQL Server\\MSSQL10_50.MSSQLSERVER\\MSSQL"; openFileDialog1.Filter = "Database files (*.mdf)|*.mdf"; openFileDialog1.FilterIndex = 2; openFileDialog1.RestoreDirectory = true; if (openFileDialog1.ShowDialog()
No activity results to display
Show More
Leave a comment: