Checkboxlist which item checked




















Peter Roche Peter Roche 2 2 gold badges 6 6 silver badges 17 17 bronze badges. Have you attempted this yourself yet? Is the interface to the CheckBoxList something you dont understand? Please don't prefix your titles with "C " and such. That's what the tags are for. Please see the FAQ regarding signatures in posts. I also removed your thank you line, because it's more likely than not that no one will help since you haven't shown that you've tried to help yourself.

I have spent the last two hours trying to get ways of working it but i can't seem to figure how to get the checkedListBox. SetItemChecked to relate it to an item in the checklistbox.

Add a comment. Active Oldest Votes. Improve this answer. It's the value you want to match, E. It returns -1 if the value isn't found. Only the first item get checked how to use foreach using this method. I don't see. SetItemChecked as an extension — Si8.

Example based on ASP. Jim Scott Jim Scott 2, 1 1 gold badge 16 16 silver badges 16 16 bronze badges. The FindByText function doesn't exist for me. Is this an asp. Sir how check items when it comes from databsae i tired but not solve sir please help. Sir my code like this label SetSelected i, true ; this. Add your solution here. OK Paste as. Treat my content as plain text, not as HTML. Existing Members Sign in to your account. This email is in use. Do you need your password? Submit your solution!

When answering a question please: Read the question carefully. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome. Don't tell someone to read the manual. Chances are they have and don't get it.

Provide an answer or move on to the next question. Let's work to help developers, not make them feel stupid. Related Questions.

Getting the valueMember of the checked item in the checkBoxList control. Add items and values to C checkboxlist in windows application. Problem in CheckBoxList item checked. Thank, Dean. Thursday, February 23, PM. Count - 1 chkboxlist1.

FindByValue dtDataTable. Rows i. Item "Name". Friday, February 24, AM. Parse Eval "selected". Thanks, Dean. First in the Query club the whesnum and selected field into one column.. User posted This would work nomally but I'll be using the whsenum when the user hits the set warehosues button to update the database via a stored procedure.



0コメント

  • 1000 / 1000