This is a migrated thread and some comments may be shown as answers.

list assign like email formate

0 Answers 10 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
mohamed
Top achievements
Rank 1
mohamed asked on 24 Apr 2013, 02:20 PM

See The Attachment
i want show like mohamed ; mohahmed@gmail.com
How i achieve this

i bind like that
var projtext = (from a in db.DSProjectMasters
                                  where a.Status != "DEL" && a.FinalStatus == "Opn" && a.OprStamp == usercode && a.CompCode == compcode
                                  select new { a.ProjectCode }).ToList();
 
 
 
                      ToEmail.DataSource = emp;
                      ToEmail.DataValueField = "emailid";
                      ToEmail.DataTextField = "emailid";
                      ToEmail.DataBind();


Thanks Advance,
Mohamed.

No answers yet. Maybe you can help?

Tags
ListBox
Asked by
mohamed
Top achievements
Rank 1
Share this question
or