Here is my code:
DirectoryInfo dirInfoWO = new DirectoryInfo(
Server.MapPath( "Clients/" +
GetDistFolderName( (int)Session[ "Distid" ] ) + "/Work_Orders" ) );
ListViewWorkOrders.DataSource = dirInfoWO.GetFiles();
ListViewWorkOrders.DataBind();
This is listing files with the extension .db I need to exclude those as an option. I have looked at other answer which use LINQ. But I have no idea how to get those to work.
Does anyone have an easy to follow answer for me please?
or