1
Answer

How can we send Email through hotmail and yahoo and gmail from asp.net application

Photo of Faisal Ansari

Faisal Ansari

13y
1.8k
1
hi 

my question is that,

how can we send email through hotmail and yahoo and gmail from asp.net application

reply soon

thanks

Answers (1)

3
Photo of Vulpes
NA 98.3k 1.5m 12y
Try:

foreach (string file in System.IO.Directory.GetFiles(a))
{
   string asd = Path.GetFileNameWithoutExtension(file);
   string[] str = asd.Split('_');
   string sam1 = str[0];
   string sam2 = str[1];

   if(!combo1.Items.Contains(sam1)) combo1.Items.Add(sam1);
   if(!combo2.Items.Contains(sam2)) combo2.Items.Add(sam2);
}
0
Photo of Sukesh Marla
NA 11.8k 1.2m 12y
Try this one, you may like more

DropDown.DAtraSource=Directory.GetFiles(@"F:\For Blogs\RNDC").Select(x => Path.GetFileNameWithoutExtension(x)).Distinct();

Check this is correct answer if it helped