title: Generate random alphanumeric string
body: <p>I am trying to generate a random code in vb.net like this</p>
  
  <pre><code>  Dim r As New Random
          Response.Write(r.Next())
  </code></pre>
  
  <p>But I want to generate code with 6 digits and should be alphanumeric like thie <code>A12RV1</code> and all codes should be like this.</p>
  
  <p>I have tried vb.net random class but I am unable to do that like as I want. I want to get the alphanumeric code each time when I execute the code. How can i achieve this in vb.net?</p>