Q: passing a date paramater

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,
I am passing parameter through URL and in my page load I use
myStr = Request.QueryString("myStr") to get this parameter. This seems
working only for string, how should I pass a date and read it?
Thanks,
Jim.
 
URLEncode() it first, then Convert.ToDateTime() it when you parse it in.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top