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
Siva V
NA
118
6.5k
Bind Alphabetic range to DropDown List
Mar 1 2019 5:01 AM
Hi
I need to bind dropdown with A to Z (Can be vary) values.
We can bind dropdown with numeric values like below,
int start = 0;
int count = 10
ddlNumeric.DataSource= Enumerable.Range(start, count);
Similarly looking for Alphabets where parameters can be configured.
Scenario #1 :
Start = A
End = Z
ddlAlpha.DataSource = Should display values from A to Z
Scenario #2:
Start = F
End = N
ddlAlpha.DataSource= Should display values from F to N
Start & end range should be configurable.
Appreciate
Thanks
Reply
Answers (
1
)
"" data with comma into one col while csv to datatable
if dateTime is datatype used in database