TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Sayed Hassan
NA
23
17.9k
How can I get a particular directory name from url
Sep 12 2013 7:16 AM
I want to extract the name of a particular directory of a URL and save it to a string from the server-side in ASP.NET C#.
For example, lets say I have a URL that looks like this:
http://localhost:1096/directory1/directory2/default.aspx
How would I get the value of directory1 from the URL and save it to a string variable?
Thanks in advance.
Reply
Answers (
2
)
Active x Control
how to solve this error?