List<string> usernames = new List<string>(); usernames = File.ReadAllLines(@"E:\raju.txt").Select(x => x.Split('_')[0]).ToList(); foreach (var user in usernames) { ddl.Items.Add(user); //Response.Write(user); } </string></string>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)