title: How to encode a DateTime in a QueryString and read it in the asp:QueryStringParameter
body: <p>How to encode a <code>DateTime</code> in a <code>QueryString</code> and read it in the <code>asp:QueryStringParameter</code>?</p>
  
  <p>out: 
  (it's a <code>asp:HyperLink NavigateUrl</code>)</p>
  
  <pre><code>String.Format("~/Reports/Logs/Option_History.aspx?OptionID={0}&amp;time={1}", _
                id, _
                time)
  </code></pre>
  
  <p>in:</p>
  
  <pre><code>&lt;asp:QueryStringParameter Name="time" 
                            QueryStringField="Time" 
                            Type="DateTime" 
                            ConvertEmptyStringToNull="true" /&gt;
  </code></pre>