I have the value DPIYRMO type: Int
My goal is to take this value and create an if statement where it compares the current month, to the month that the user sets DPIYRMO to.
Example, the user sets DPIYRMO to November, if this happens, I will have a messagebox that lets them know that their DPIYRMO is set to that month and not the current month.
This if statement will be placed in here:
private void OnPostCertificate()
{
if (TaxCertificateList.Where(c => c.IsSelected).Count() == 0)
return;
bw = new BackgroundWorker();
bw.WorkerReportsProgress = true;
bw.WorkerSupportsCancellation = true;
bw.DoWork += new DoWorkEventHandler(bw_DoPost);
bw.RunWorkerCompleted += BwOnRunPostCompleted;
bw.RunWorkerAsync();
}
I believe I may have to use substrings, however, I am not sure where to start.