SHARE
TWEET

Untitled

Ortund Sep 24th, 2014 178 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         bool insurance = false;
  2.         DateTime? insuranceDate = DateTime.Now;
  3.         if (rblInsurance.SelectedItem != null && rblInsurance.SelectedItem.Value == "true")
  4.         {
  5.             insurance = true;
  6.             insuranceDate = Convert.ToDateTime(txtInsuranceDate.Text);
  7.         }
  8.         else
  9.         {
  10.             insuranceDate = null;
  11.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top