Changing string to datetime snafu

N

.Net Sports

Before processing my data in a datagrid, I need to parse the day of the
week (which will be my 'rqsday' variable) from a string that comes over
on a querystring:

string rqs = Request.QueryString["txtboarddate"];

string rqsday;

rqsday = (System.String.Format("{0:dddd}",rqs)) ;

Response.Write(rqsday);

...the variable 'txtboarddate' comes over as "7/14/2005 ) (or whatever
date the user is querying) . But I think I'm having trouble with 'rqs'
, as I can't find a way to change that to DATETIME datatype.

???
..netsports
 

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

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top