list assign like email formate

1 posts, 0 answers
  1. mohamed
    mohamed avatar
    311 posts
    Member since:
    Mar 2011

    Posted 24 Apr 2013 Link to this post


    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.

Back to Top