15,885,546 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by TanvirRaihan (Top 9 by date)
TanvirRaihan
13-May-13 6:45am
View
foreach (FileInfo file in nodeDirInfo.GetFiles())
{
if (file.Extension.ToLower() != ".mp3" || file.Extension.ToLower() != ".cab")
{
// Put it to list view.
}
}
TanvirRaihan
13-May-13 6:45am
View
Deleted
foreach (FileInfo file in nodeDirInfo.GetFiles())
{
if (file.Extension.ToLower() != ".mp3" || file.Extension.ToLower() != ".cab")
{
// Put it to list view.
}
}
TanvirRaihan
13-May-13 6:28am
View
As far as I know, there is no direct process but you can use lambda expression like:
Directory.GetFiles("path").Where(x => !x.EndsWith(".mp3")).
Or you can read all files and check the file extension in a foreach loop before adding them to ListView.
TanvirRaihan
13-May-13 5:36am
View
string itself is a array of char. Why you need to convert it?
TanvirRaihan
13-Feb-13 3:44am
View
Why to use nested grid ? If the question is how to display it line by line, then on row_databound event, we can get the actual string and split it by comma(,) and then join them with a line break in between each splitted item and set the new string in grid's cell.
TanvirRaihan
13-Dec-12 3:56am
View
Get both source and destination file path using debug and then try to access them in windows address bar. Hope this will help you to resolve the problem.
TanvirRaihan
5-Nov-12 5:34am
View
You can use custom event to solve this issue.
TanvirRaihan
1-Oct-12 8:57am
View
could also try for individual li...
Example
<ul>
<li runat="server" id="liHide">dfdfddfdf </li>
</ul>
TanvirRaihan
26-Sep-12 8:41am
View
Please describe your problem properly...
Show More