Our recent post about how to bind a CheckBoxList with database. I hope all you guys have got very useful information. Today i will tell you that how to insert the values that are selected from the CheckboxList. Sometimes we need to select multiple values from the checkbox and we want to save all the selected values in a single column of database table. Also we will learn that how to show again these values in checkboxlist control. I have used C# as front-end and Sqlserver 2008 as back-end.
Today we will discuss two main operation that can be performed with String while developing an application in ASP.NET. First let me explain these two terms. Split is the term in which we break a string value to multiple string values. TheÂ splitting is performed with a specific separatorÂ Â value. Suppose we need to split a date like “12-09-2011″. Then in that case the separator values is “-” and after split the string we will save the three different values in different different variables. The another term Merge is the reverse process of Split. Merging the values makes multiple values into a single value. In this article I will discuss these two operation with example.