title: Path string format '/' to '\'
body: <p>i have a problem about string format.</p>
  
  <p>first, i have table on the database and the record is </p>
  
  <pre><code>id | url
  ---|-----------------
  1  | \root\folder\file.txt
  </code></pre>
  
  <p>and i have to access query like this one,</p>
  
  <pre><code>SELECT * FROM [table] WHERE url like @param;
  </code></pre>
  
  <p>then, on the server-side. i have code</p>
  
  <pre><code>String path = "/folder/file.txt";
  </code></pre>
  
  <p>my problem is, how to change "/folder/file.txt" to "\folder\file.txt"?</p>
  
  <p>if i use</p>
  
  <pre><code>path = path.Replace('/','\\'); or path = path.Replace("/",@"\");
  </code></pre>
  
  <p>i get path is "\\folder\\file.txt"</p>
  
  <p>if i assign @param with path
  <code>DataSource.SelectParameters["param"].DefaultValue = "%"+path</code></p>
  
  <p>my query is not correct. there is other way to resolve this issue?</p>