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
B M Suchitra
NA
507
419.1k
Remove duplicate values from dropdownlist ?
Jan 17 2012 4:37 AM
Hi,
When user selects a row in gridview i need to display the selected value in the dropdownlist.. The dropdownlits are populated at page load event... the selected value is getting displayed along with the value in the database.. How do get rid of duplicates?
Reply
Answers (
8
)
0
Charlie Grande
0
3
743
Sep 26 2015 3:19 PM
It removes the unicode but the problem is , the 3rd,4th etc message sticks to the second one. It is sent together with the second message
0
Guest User
Tech Writer
4.2k
2.3k
Sep 25 2015 8:29 AM
You are using TrimStart(). This will try and remove the specified characters from the start of your string. Wouldn't it make more sense to just use:
recvDt = recvDt.Replace("--++", "");
That ensures it will be removed from the string, no matter the position it is in.
Problem in playing .avi
Add currency format