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
Devendra Kumar
NA
517
246.2k
multiple checked items value insert in single column c#
Jun 17 2016 1:14 AM
how to insert multiple checked value in single column in c#
like i select value like this:
<
asp:DropDownCheckBoxes
ID
="
ddsize
"
runat
="
server
"
UseButtons
="
true
" >
<asp:ListItem
Text
="
Queen
"
Value
="
1
">
</asp:ListItem>
<asp:ListItem
Text
="
Twin
"
Value
="
2
">
</asp:ListItem>
<asp:ListItem
Text
="
Round
"
Value
="
3
">
</asp:ListItem>
<asp:ListItem
Text
="
King
"
Value
="
4
">
</asp:ListItem>
</
asp:DropDownCheckBoxes
>
int str =0;
for (int i = 0; i <= ddsize.Items.Count - 1; i++)
{
if (ddsize.Items[i].Selected)
{
if (str ==0)
{
str =int.Parse( ddsize.Items[i].Value);
}
else
{
str +=int.Parse(ddsize.Items[i].Value);
}
}
}
select value 1 and 2 and 3 then
i want insert all id in single column
Reply
Answers (
7
)
picture in picture object using path in crystal report
How to show aspx in modal pop up in asp.net