I have a sp that has firstname, lastname, fullname, and personid columns. In my C#, I have a drop down which displaymember is fullname and valuemember is personid. So far so good, I got those values. Now, I want firstname and lastname of the selected person from the dropdown. How do I do that? Someone suggested me to use Rows[0]["firstname"], but it only gave me the firstname and lastname of the first record displayed, not selected.
Can anyone please help me?
Can anyone please help me?