Click here to Skip to main content
       

C#

 
AnswerRe: how i get data from datatable [modified] PinmemberPIEBALDconsult13-Jan-13 14:38 
GeneralRe: how i get data from datatable Pinmembera1_shay13-Jan-13 21:29 
GeneralRe: how i get data from datatable PinmemberMycroft Holmes13-Jan-13 22:06 
GeneralRe: how i get data from datatable Pinmembera1_shay13-Jan-13 22:08 
GeneralRe: how i get data from datatable PinmemberMycroft Holmes14-Jan-13 0:58 
GeneralRe: how i get data from datatable Pinmembera1_shay14-Jan-13 1:53 
GeneralRe: how i get data from datatable [modified] PinmemberPIEBALDconsult14-Jan-13 4:05 
GeneralRe: how i get data from datatable Pinmembera1_shay14-Jan-13 4:08 
GeneralRe: how i get data from datatable PinmemberPIEBALDconsult14-Jan-13 4:36 
GeneralRe: how i get data from datatable Pinmembera1_shay14-Jan-13 13:34 
Questionis it possible to work with Word files using Binary Reader and writer? Pinmemberasem052513-Jan-13 6:41 
AnswerRe: is it possible to work with Word files using Binary Reader and writer? PinmemberGarth J Lancaster13-Jan-13 11:19 
QuestionDeleting registry values PinmemberErol230913-Jan-13 5:51 
AnswerRe: Deleting registry values [modified] Pinmember ProgramFOX13-Jan-13 7:06 
Hi,
 
 if(t[i] == (string)checkedListBox1.SelectedItem)
SelectedItem is one item, use SelectedItems to get all selected items:
if (checkedListBox1.SelectedItems.Contains(t[i]))
Add also this in the constructor:
  checkedListBox1.SelectionMode = SelectionMode.MultiExtended; // a user can select multiple items using the CTRL key, SHIFT key and the arrow keys
   // OR:
  checkedListBox1.SelectionMode = SelectionMode.MultiSimple; // if a user clicked on a selected item in the list box, that item will be deselected, and if the user clicked on a deselected item in the list box, that item will be selected
Hope this helps.
In some cases, my signature will be longer than my message...
<em style="color:red"> <b>ProgramFOX</b></em>
ProgramFOX


modified 14-Jan-13 11:57am.

GeneralRe: Deleting registry values PinmemberErol230913-Jan-13 9:44 
GeneralRe: Deleting registry values Pinmember ProgramFOX14-Jan-13 6:57 
AnswerRe: Deleting registry values PinprotectorPete O'Hanlon13-Jan-13 9:56 
GeneralRe: Deleting registry values PinmemberErol230913-Jan-13 23:17 
GeneralRe: Deleting registry values Pinmemberjibesh13-Jan-13 23:32 
GeneralRe: Deleting registry values PinprotectorPete O'Hanlon14-Jan-13 0:40 
QuestionIndex was outside the bounds of the array. PinmemberErol230913-Jan-13 5:11 
AnswerRe: Index was outside the bounds of the array. PinmvpOriginalGriff13-Jan-13 5:15 
GeneralRe: Index was outside the bounds of the array. PinmemberErol230913-Jan-13 5:17 
GeneralRe: Index was outside the bounds of the array. PinmvpOriginalGriff13-Jan-13 5:21 
AnswerRe: Index was outside the bounds of the array. PinmemberPIEBALDconsult13-Jan-13 5:41 
QuestionObject reference not set to an instance of an object PinmemberErol230912-Jan-13 20:25 
AnswerRe: Object reference not set to an instance of an object Pinmemberjibesh12-Jan-13 20:41 
QuestionSaving selected option into database PinmemberOyebisi Jemil12-Jan-13 12:31 
AnswerRe: Saving selected option into database PinprotectorPete O'Hanlon12-Jan-13 12:45 
AnswerRe: Saving selected option into database PinmvpDave Kreskowiak12-Jan-13 13:48 
GeneralRe: Saving selected option into database PinmemberBrisingr Aerowing12-Jan-13 14:49 
GeneralRe: Saving selected option into database PinmemberPIEBALDconsult12-Jan-13 16:22 
QuestionBinary Reader Pinmemberdxtrx12-Jan-13 11:38 
AnswerRe: Binary Reader [modified] Pinmemberjibesh12-Jan-13 14:01 
GeneralRe: Binary Reader Pinmemberdxtrx12-Jan-13 14:17 
GeneralRe: Binary Reader PinmemberBrisingr Aerowing12-Jan-13 14:48 
QuestionSocket programming- Response to all client [modified] Pinmembermohammadkaab12-Jan-13 8:36 
AnswerRe: Socket programming- Response to all client [modified] Pinmemberpt140112-Jan-13 9:21 
GeneralRe: Socket programming- Response to all client Pinmemberjschell14-Jan-13 9:26 
GeneralRe: Socket programming- Response to all client Pinmemberpt140114-Jan-13 20:51 
GeneralRe: Socket programming- Response to all client Pinmemberjschell16-Jan-13 9:53 
GeneralRe: Socket programming- Response to all client Pinmembermohammadkaab15-Jan-13 4:15 
GeneralRe: Socket programming- Response to all client [modified] Pinmemberpt140115-Jan-13 5:01 
GeneralRe: Socket programming- Response to all client Pinmembermohammadkaab15-Jan-13 8:37 
GeneralRe: Socket programming- Response to all client Pinmemberpt140115-Jan-13 9:37 
GeneralRe: Socket programming- Response to all client Pinmembermohammadkaab16-Jan-13 2:38 
GeneralRe: Socket programming- Response to all client Pinmemberpt140116-Jan-13 2:52 
GeneralRe: Socket programming- Response to all client Pinmembermohammadkaab16-Jan-13 7:14 
GeneralRe: Socket programming- Response to all client Pinmemberpt140116-Jan-13 10:32 
GeneralRe: Socket programming- Response to all client Pinmembermohammadkaab16-Jan-13 11:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 17 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid