/ Published in: C#
So if the ID contains the word Spouse, do x.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
string Assignee = (rbList.ID.IndexOf("Spouse") == -1) ? "Member" : "Spouse";