tag:blogger.com,1999:blog-2042718971061517382.post6713276977058702474..comments2024-02-25T23:14:43.127+05:30Comments on Asp.Net,C#.Net,VB.Net,MVC,jQuery,JavaScipt,AJAX,WCF,Sql Server example: How to Fill CheckBoxList from Sql Server table in asp.net(C#,VB)Lalit Raghuvanshihttp://www.blogger.com/profile/08683129469402353148noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-2042718971061517382.post-3431678678328925192013-09-26T22:49:30.413+05:302013-09-26T22:49:30.413+05:30Hello andrec..yes you are right..that's also a...Hello andrec..yes you are right..that's also a way to fill the checkbox using SqldataSource..thanks for sharing your knowledge too..keep reading. :)Lalit Raghuvanshihttps://www.blogger.com/profile/08683129469402353148noreply@blogger.comtag:blogger.com,1999:blog-2042718971061517382.post-3693209901125555742013-09-26T15:13:15.621+05:302013-09-26T15:13:15.621+05:30There is no need to write any code-behind for this...There is no need to write any code-behind for this as this would do exactly the same:<br /><asp:CheckBoxList ID="cblCourses" runat="server" RepeatColumns="2" DataSourceID="sdsCourses" DataValueField="Qualification_Id_Pk" DataTextField="Qualification" /><br /><asp:SqlDataSource ID="sdsCourses" runat="server" ConnectionString="<%$ ConnectionStrings:MyDbCon %>" SelectCommand="SELECT * FROM Qualification_Tb;" />andrechttps://www.blogger.com/profile/14794548579956408935noreply@blogger.com