title: Convert string to SQL Server uniqueidentifier in asp.net
body: <p>Is there any built-in method in asp.net to convert a string to a <code>uniqueidentifier</code> for SQL Server, just like <code>.ToString()</code>.</p>
  
  <p>I get an error: <code>Conversion failed when converting from a character string to uniqueidentifier.</code></p>
  
  <p>Or does anyone have an idea how to do solve this problem. Thanks.</p>