Click here to Skip to main content
15,891,248 members
Home / Discussions / C#
   

C#

 
Generalswitch enhancement in C# Pin
ovarlamov9-Apr-02 8:27
ovarlamov9-Apr-02 8:27 
GeneralRe: switch enhancement in C# Pin
Andy Smith9-Apr-02 8:53
Andy Smith9-Apr-02 8:53 
GeneralReflection & Assemblies Pin
Tariq9-Apr-02 5:07
Tariq9-Apr-02 5:07 
GeneralRe: Reflection & Assemblies Pin
James T. Johnson9-Apr-02 6:30
James T. Johnson9-Apr-02 6:30 
GeneralOnly one application instance Pin
Jose Fco Bonnin9-Apr-02 1:52
Jose Fco Bonnin9-Apr-02 1:52 
GeneralRe: Only one application instance Pin
David Wengier9-Apr-02 12:59
David Wengier9-Apr-02 12:59 
GeneralRe: Only one application instance Pin
Marc Clifton1-Oct-02 11:32
mvaMarc Clifton1-Oct-02 11:32 
GeneralCheckbox in Datagrid Pin
Anderson F.9-Apr-02 1:29
Anderson F.9-Apr-02 1:29 
Confused | :confused: Hi all,

I've been trying to have a simple checkbox in my datagrid using C# and it's being a pain to get it to work.
Here is the cenario.

I have a DataSet populated with a table "Employees" let's say. This table has fields such id, name, email.
All I want to do is to display an extra column in my datagrid that will display a checkbox for each row.
Note, there is no data associated with this checkbox. I just wanted the user to select some of the Employees from the datagrid by checking the checkbox. Then, when they click the button "Print", I will loop through the datagrid, get the selected ones and print.

Anyone can give me some instructions or example of how to do that?
I've been looking some people examples that do something similar. But they don't really show how to add an extra column to the datagrid with a checkbox for each record of your already populated dataset.

Please, any help will be appreciated.
Thanks to all.

Anderson

Anderson F.
afraga22@hotmail.com
GeneralRe: Checkbox in Datagrid Pin
ClayB9-Apr-02 23:53
ClayB9-Apr-02 23:53 
GeneralRe: Checkbox in Datagrid Pin
Anderson F.10-Apr-02 9:26
Anderson F.10-Apr-02 9:26 
GeneralWe have ASP/ASP.NET Beat Pin
Nick Parker8-Apr-02 17:43
protectorNick Parker8-Apr-02 17:43 
QuestionAm I Missing Something Here? Pin
Nick Parker8-Apr-02 17:08
protectorNick Parker8-Apr-02 17:08 
AnswerRe: Am I Missing Something Here? Pin
Christian Graus8-Apr-02 17:18
protectorChristian Graus8-Apr-02 17:18 
GeneralRe: Am I Missing Something Here? Pin
Nick Parker8-Apr-02 17:24
protectorNick Parker8-Apr-02 17:24 
GeneralRe: Am I Missing Something Here? Pin
David Wengier8-Apr-02 17:30
David Wengier8-Apr-02 17:30 
GeneralRe: Am I Missing Something Here? Pin
Christian Graus8-Apr-02 17:31
protectorChristian Graus8-Apr-02 17:31 
GeneralRe: Am I Missing Something Here? Pin
Nick Parker8-Apr-02 17:38
protectorNick Parker8-Apr-02 17:38 
GeneralRe: Am I Missing Something Here? Pin
Neil Van Note8-Apr-02 17:37
Neil Van Note8-Apr-02 17:37 
GeneralRe: Am I Missing Something Here? Pin
Nick Parker8-Apr-02 17:40
protectorNick Parker8-Apr-02 17:40 
GeneralRe: Am I Missing Something Here? Pin
Neil Van Note8-Apr-02 17:45
Neil Van Note8-Apr-02 17:45 
QuestionHTTP GET request example? Pin
Ravi Bhavnani8-Apr-02 12:39
professionalRavi Bhavnani8-Apr-02 12:39 
AnswerRe: HTTP GET request example? Pin
Ravi Bhavnani8-Apr-02 12:54
professionalRavi Bhavnani8-Apr-02 12:54 
GeneralWindows Messages Pin
Bob Groves8-Apr-02 9:06
Bob Groves8-Apr-02 9:06 
GeneralRe: Windows Messages Pin
James T. Johnson8-Apr-02 11:46
James T. Johnson8-Apr-02 11:46 
QuestionKnow anyone a good .NET/C#/Vb.net/ASP.NET/ADO.NET message board/mailing list/newsletter??????? Pin
gicio8-Apr-02 8:29
gicio8-Apr-02 8:29 

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

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