Click here to Skip to main content
15,506,846 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionCreate columntype as checkbox in datagridview by coding Pin
KIDYA3-Nov-09 19:12
KIDYA3-Nov-09 19:12 
AnswerRe: Create columntype as checkbox in datagridview by coding Pin
dan!sh 3-Nov-09 19:47
professional dan!sh 3-Nov-09 19:47 
GeneralRe: Create columntype as checkbox in datagridview by coding Pin
KIDYA3-Nov-09 20:08
KIDYA3-Nov-09 20:08 
GeneralRe: Create columntype as checkbox in datagridview by coding Pin
Mycroft Holmes3-Nov-09 20:40
professionalMycroft Holmes3-Nov-09 20:40 
GeneralRe: Create columntype as checkbox in datagridview by coding Pin
dan!sh 3-Nov-09 20:47
professional dan!sh 3-Nov-09 20:47 
GeneralRe: Create columntype as checkbox in datagridview by coding Pin
KIDYA3-Nov-09 20:52
KIDYA3-Nov-09 20:52 
GeneralRe: Create columntype as checkbox in datagridview by coding Pin
dan!sh 3-Nov-09 21:27
professional dan!sh 3-Nov-09 21:27 
GeneralRe: Create columntype as checkbox in datagridview by coding Pin
KIDYA3-Nov-09 22:13
KIDYA3-Nov-09 22:13 
Here is code that should create a header with a checkbox in it. I want this checkbox to select or unselct all checkboxes in the grid depending on if its checked or not. Right now, nothing happens when you click this check box. any suggestions?

Dim column As New DataGridViewCheckBoxColumn()
With column
.HeaderText = "Select"
.Name = "NSelect"
.AutoSizeMode = DataGridViewAutoSizeColumnMode.DisplayedCells
.FlatStyle = FlatStyle.Standard
.CellTemplate = New DataGridViewCheckBoxCell()
.CellTemplate.Style.BackColor = Color.Beige
End With

DgvUserlist.Columns.Insert(0, column)
GeneralRe: Create columntype as checkbox in datagridview by coding Pin
dan!sh 3-Nov-09 22:30
professional dan!sh 3-Nov-09 22:30 
GeneralRe: Create columntype as checkbox in datagridview by coding Pin
KIDYA3-Nov-09 22:39
KIDYA3-Nov-09 22:39 
QuestionShow items in Listview of other form Pin
Gagan.203-Nov-09 18:52
Gagan.203-Nov-09 18:52 
AnswerRe: Show items in Listview of other form Pin
Christian Graus3-Nov-09 19:12
mveChristian Graus3-Nov-09 19:12 
GeneralRe: Show items in Listview of other form Pin
Gagan.203-Nov-09 19:15
Gagan.203-Nov-09 19:15 
GeneralRe: Show items in Listview of other form Pin
Christian Graus3-Nov-09 19:21
mveChristian Graus3-Nov-09 19:21 
GeneralRe: Show items in Listview of other form Pin
Gagan.203-Nov-09 19:25
Gagan.203-Nov-09 19:25 
GeneralRe: Show items in Listview of other form Pin
Christian Graus3-Nov-09 19:31
mveChristian Graus3-Nov-09 19:31 
GeneralRe: Show items in Listview of other form Pin
Gagan.203-Nov-09 19:34
Gagan.203-Nov-09 19:34 
GeneralRe: Show items in Listview of other form Pin
Christian Graus3-Nov-09 19:38
mveChristian Graus3-Nov-09 19:38 
GeneralRe: Show items in Listview of other form Pin
Gagan.203-Nov-09 19:41
Gagan.203-Nov-09 19:41 
GeneralRe: Show items in Listview of other form Pin
Christian Graus3-Nov-09 19:42
mveChristian Graus3-Nov-09 19:42 
GeneralRe: Show items in Listview of other form Pin
Gagan.203-Nov-09 19:45
Gagan.203-Nov-09 19:45 
GeneralRe: Show items in Listview of other form Pin
Christian Graus3-Nov-09 19:47
mveChristian Graus3-Nov-09 19:47 
QuestionPrint Preview of 9000 Pages Pin
Anubhava Dimri3-Nov-09 18:22
Anubhava Dimri3-Nov-09 18:22 
AnswerRe: Print Preview of 9000 Pages Pin
Christian Graus3-Nov-09 19:11
mveChristian Graus3-Nov-09 19:11 
GeneralRe: Print Preview of 9000 Pages Pin
Anubhava Dimri3-Nov-09 19:33
Anubhava Dimri3-Nov-09 19:33 

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.