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.
In this article we will learn to bind the CheckBoxList Control with Database Table. I have used the SQL Database in this project. Also I have used the IDataReader and DataTable to fetch the records from the database table. This article willÂ beneficialÂ when you need to show a checkboxlist with various options so that user can choose more than one checkbox. Also later my next article are coming about inserting these multiple selected values into the database.
As you are a web developer you are very well known about HTML for web designing. While developing a web application we need to use many of HTML tags several times. These tags can be used inside the source code of the aspx page or in style (.css) files. Sometimes we need to use the HTML Controls in our .aspx page. Using HTML controls on .aspx page reduces the page load time as well as increase the execution of tha whole page. Today in this article we will learn how to use the Bulleted List control in ASP.NET. Also we can bind this Bulleted Control with our database table when required.