hi, how can i list all addresses starting with a letter which is typed in the textbox
( for example, listing of email address)
hi, how can i list all addresses starting with a letter which is typed in the textbox
( for example, listing of email address)
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Cutch14 reputationPosted Jun 22, 2008, 2:03 PM EDT
String[] emails=
{"[email protected]","[email protected]","[email protected]","[email protected]","[email protected]"};
foreach(String email in emails){
if(email.StartsWith(textbox1.Text)){
listbox1.add(email);
}
}