if (this.cboStatus.SelectedValue == 11 || this.cboStatus.SelectedValue == 7)which didn't work because SelectedValue is apparently a string. I thought it would have been an int as it was bound to an int value.
if (this.cboStatus.SelectedValue == '11' || this.cboStatus.SelectedValue == '7')Which didn't work either.
if (this.cboStatus.SelectedValue == "11" || this.cboStatus.SelectedValue == "7")So, it seems that single and double quotation marks are not interchangeable in C# as they are in VFP. Is that correct?
if (this.cboStatus.SelectedValue == "11" || this.cboStatus.SelectedValue == "7") >> { >> this.lblDeathDate.Visible = true; >> this.txtDeathDate.Visible = true; >> this.btnDisplayDeathDateCalendar.Visible = true; >> }>>
<mm:mmDropDownList ID="cboStatus" runat="server" BindingSource="Status" BindingSourceDisplayMember="Status" >> BindingSourceValueMember="StatusPK" BindingValueSource="Policy" BindingValueSourceMember="StatusFK" >> Enabled="False" AutoPostBack="true" OnTextChanged="cboStatus_TextChanged"> >> </mm:mmDropDownList> >>>>