G
Guest
Hi,
Can someone convert this to VB.NET Please. I am trying but for some reason
it doesn't work.
if (null != Request.QueryString["secondsToWait"])
{
secondsToWait = Request.QueryString["secondsToWait"];
if ((Int32.Parse(secondsToWait) % 60 == 0)
&& ((Int32.Parse(secondsToWait)) / 60) > 1)
{
int minutes = Int32.Parse(secondsToWait) / 60;
minutesToWait = minutes.ToString();
secondsToWait = "0";
}
}
if (null != Request.QueryString["minutesToWait"])
{
secondsToWait = "0";
minutesToWait = Request.QueryString["minutesToWait"];
}
Thanks
Can someone convert this to VB.NET Please. I am trying but for some reason
it doesn't work.
if (null != Request.QueryString["secondsToWait"])
{
secondsToWait = Request.QueryString["secondsToWait"];
if ((Int32.Parse(secondsToWait) % 60 == 0)
&& ((Int32.Parse(secondsToWait)) / 60) > 1)
{
int minutes = Int32.Parse(secondsToWait) / 60;
minutesToWait = minutes.ToString();
secondsToWait = "0";
}
}
if (null != Request.QueryString["minutesToWait"])
{
secondsToWait = "0";
minutesToWait = Request.QueryString["minutesToWait"];
}
Thanks