Its very Urgent. Please any one help me
-
Hi Friends In one dropdownlist all the extension files r there,when i select one extension file ,i need to get all the files of that extension file from specified path in another dropdownlist in .net web app. (asp.net with c# coding). If anybody knows,pls inform me. Thanking u, Naren please help me, Its very Urgent.
-
Hi Friends In one dropdownlist all the extension files r there,when i select one extension file ,i need to get all the files of that extension file from specified path in another dropdownlist in .net web app. (asp.net with c# coding). If anybody knows,pls inform me. Thanking u, Naren please help me, Its very Urgent.
Try this
DirectoryInfo oCurrentFolder= new DirectoryInfo("c:\windows"); FileInfo[] oFiles = oCurrentFolder.GetFiles("*.dll"); foreach (FileInfo oFile in oFiles) { ddl.Items.Add(oFile.Name); }
Regards R.Arockiapathinathan