I am having a problem with my gift certificate program which requires a way to have the user retrieve a unique validation code consisting of the first 9 digits of a random GUID and the date and time. I have a page that has a button which creates this data and places it as text on labels perfectly, but I can't figure out how to bind them to the certificate being validated.
The idea here is that the cashier, upon a customer redeeming a certificate, would open a page where they would receive a 9 digit validation code plus the date and time. I would like this code and date/time to be bound to that gift certificate's data. An added bonus would be if someone also knew the code to prevent another attempt to retrieve the validation code and date/time again.
This is the page described above:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://w ...
Go to the complete details ...