Line 235: string postMonth = Request.QueryString["writingmonth"].ToString();
Line 236: int pos = postMonth.IndexOf(" ");
Line 237: string mon = postMonth.Substring(0, pos);
Line 238: int yr = Convert.ToInt32(postMonth.Substring(pos + 1));
Line 239: int mn = DateTime.ParseExact(mon, "MMMM", CultureInfo.CurrentCulture).Month;
|