Advertisement

12.11.2006 at 02:54PM PST, ID: 22089835
[x]
Attachment Details

CheckedListBox change from .NET 1.1 to 2.0

Asked by glennkerr in Microsoft Visual Basic.Net

Tags: checkedlistbox

Hi just upgraded from .NET 1.1 to 2.0

The following code worked fine with 1.1, but with 2.0, the control displays a row that says "System.Row.DataRowView" for each row instead of the DisplayMember data...

        Me.lstSeries.DisplayMember = "CourseName"
        Me.lstSeries.ValueMember = "TSlotSeriesID"
        Me.lstSeries.DataSource = ds.Tables(0).DefaultView

Where lstSeries is a System.Windows.Form.checkedlistbox and
ds is a dataset with one table.

Start Free Trial
 
Loading Advertisement...
 
[+][-]12.11.2006 at 02:58PM PST, ID: 18118835

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Tags: checkedlistbox
Sign Up Now!
Solution Provided By: Idle_Mind
Participating Experts: 1
Solution Grade: A
 
 
[+][-]12.11.2006 at 03:02PM PST, ID: 18118875

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32