Something like:
if (string.Compare(t2g1.SelectedItem.Substring(0,1), "A", true) == 0)
{
}
Presuming that t2g1.SelectedItem returns a string
It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link.
No comments:
Post a Comment