I'm trying to find out how to sort the items in a checkboxlist
Seems currently it's going by the id's in the database.
Also trying to require at least one item to be checked.
Code on front end:
<asp:CheckBoxList ID="cblStatus" Font-Size="0.9em" runat="server" Width="100%" RepeatColumns="6" CellPadding="2" CellSpacing="1">
</asp:CheckBoxList>
Backend vb file:
Imports System.Data
Imports System.Data.OleDb
Imports System.IO
Imports System.Globalization
Partial Class cms_default
Inherits System.Web.UI.Page
Dim objComm As New OleDbCommand()
Dim objDR As OleDbDataReader
Private objDA As New OleDbDataAdapter
Private objDS As New DataSet()
Dim objConn As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("~/db/emc_cms.mdb") & "&q ...
Go to the complete details ...