I
am creating a webpage using ASP.net(c#)
I have inserted a CheckBoxList inside the webpage like below
Interested in
Friends
Dating
Business
Activity Partners
where multiple values can be selected
when I click on the submit button,I want to store multiple selected values (text) in the database in a single coulmn.
and when next time the page_Load event fires,I want the multiple values to be fetched using select statement & the stored values must be selected in the CheckBoxList
My idea is to use a String datatype to store multiple values of CheckBoxList by concating & to use substring to fetch & select the multiple items
But I can't do it
Please help me...
binay00713
Member
18 Points
8 Posts
How to store multiple values of CheckBoxList into Database
Apr 25, 2011 04:07 PM|LINK
I am creating a webpage using ASP.net(c#)
I have inserted a CheckBoxList inside the webpage like below
Interested in
where multiple values can be selected
when I click on the submit button,I want to store multiple selected values (text) in the database in a single coulmn.
and when next time the page_Load event fires,I want the multiple values to be fetched using select statement & the stored values must be selected in the CheckBoxList
My idea is to use a String datatype to store multiple values of CheckBoxList by concating & to use substring to fetch & select the multiple items
But I can't do it
Please help me...