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
Vikas Singh
1.3k
410
14.9k
I have a checkboxlist and i want to select multiple on binddata
Dec 1 2020 5:16 AM
Hello sir i have a checkboxlist and after save value in db. i want to bind data for edit, I have a value in data table column like '12586,85696,25478,36982' now
I want to select multiple checkboxlist item
this is code -
List<
string
> stringempcpf = dtQuery.Rows[0][
"CPF"
].ToString().Split(
','
).ToList();
foreach
(
string
strcpf
in
stringempcpf)
{
if
(strcpf !=
""
)
{
chkemployee.SelectedValue = strcpf;
}
}
This is checkboxlist
Reply
Answers (
4
)
Problem uploading files via asp.net core api
Routing pages to allow any controller except home