if you got a table with expiration date column which is of
DateTime
datatype, you can do this in your query.
"SELECT EXPIRATN_DT,DATEDIFF(MM,Getdate(),EXPIRATN_DT) from Whatever_table_i_am_using"
This, will return 2 columns col0 = EXPIRATND_DT and col1 =
Integer
value on how many months there is between EXPIRATN_DT and todays date.
then you can write your if statement pretty easy.
if((int)MyRow[1] == 1)<br />
{<br />
}