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
Ankit Kumar
NA
159
48.9k
problem with split method
Oct 26 2015 5:44 AM
Hey guys please help me,
i am removing forward slash from a string using split method but it's not getting executed.
i have used this code.
string initrainingid;
initrainingid = startdate.Text;
string[] seperator = initrainingid.Split('/');
foreach (string trining_id in seperator)
{
trainingid = trainingid + seperator;
}
Response.Write("<script>alert('Trining id is"+trainingid+"');</script>");
Reply
Answers (
5
)
MVC5
How to retrieve the database value in c# windows application