Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

.Net Form to select group of people from list

Posted on 2011-03-15
4
308 Views
Last Modified: 2012-05-11
Hi, I'd like to create a Form that shows a list of people (with scroll bar if the list is long. the list is a result of SQL query).
and have a checkbox near each name to select specific person
or push a button to select all of them.
The selected set could be edited again if the user choose to do so (i.e. the Form should remember the previous selections).
0
Comment
Question by:tuchfeld
  • 3
4 Comments
 
LVL 11

Expert Comment

by:srikanthreddyn143
ID: 35142578
use a gridview which has a check box and column which shows the name. You can edit or do what ever for the selected names by looping the grid rows which are selected.
0
 

Author Comment

by:tuchfeld
ID: 35149748
1) Can You send a link that describs how to do so?
2) Is in neccary to use the DataSource or I can set the details myself in code? which I prefere.
0
 

Accepted Solution

by:
tuchfeld earned 0 total points
ID: 35155462
I think CheckedListBox is the component I was looking for.
0
 

Author Closing Comment

by:tuchfeld
ID: 35187266
this is the solution I was looking for.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to duplicate form in Visual Studio 2015 2 60
Convert Ctime to date time in textfile? 7 32
VS 2017 18 49
Why use this lambda? 12 37
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

837 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question