Author: mla275 | Posted on: 8/26/2009 2:06:05 PM | Views : 455

Ok, here's a really simple concept that I just can't seem to wrap my head around in .NET. I have a series of CheckBoxLists with different choices user can select to search by (they then click a button to submit). The CheckBoxLists are bound to a DataTable and everything works great. What I want to do is to take the items that the user has selected and move them to the top of the CheckBoxLists so they can easily see what they searched for. It would take me about 5 seconds in ColdFusion, but being fairly new to .NET, I just can't, for the life of me, figure out how to do it. Any guidance would be greatly appreciated.


SqlCommand cmd1 = new SqlCommand("spDistinctSelect", conn); cmd1.CommandType = CommandType.StoredProcedure; int i = cmd1.ExecuteNonQuery(); SqlDataAdapter dataAdaptercbl1 = new SqlDataAdapter(cmd1); DataSet dataSetcbl1 = new DataSet(); dataAdaptercbl1.Fill(dataSetcbl1, "Ecn"); Da ...

Go to the complete details ...