santosh

santosh

  • NA
  • 4
  • 0

Bind CheckedListBOx with displaymember and valuemember

May 29 2009 3:54 AM

HI All,

I am using ASP DOtNet2.0. + c# .In my application i want to bind checkedlistbox with displaymember and valuemember. Suppose i want to bind from databse table "UserInfo". From this table i want to bind "UserName" column as Displaymember and "UserId" Column as ValueMember.

I have also a submit button .When i click on this button the checked UserName from list should insert in database ie. ValueMember of checked Items .for that i want to get the valuemember of selected items from CheckedListBox when button get click.

The procedure in c# is appriciated.

Thanks in advance.


Answers (2)