Return to Snippet

Revision: 31556
at September 8, 2010 23:42 by housecor


Initial Code
string Assignee = (rbList.ID.IndexOf("Spouse") == -1) ? "Member" : "Spouse";

Initial URL

                                

Initial Description
So if the ID contains the word Spouse, do x.

Initial Title
Search ID of control for a substring

Initial Tags
search, find

Initial Language
C#