Click here to Skip to main content
15,909,199 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: What is Wrong in my Datagrid Search Style Pin
Dave Kreskowiak27-Aug-07 12:09
mveDave Kreskowiak27-Aug-07 12:09 
GeneralRe: What is Wrong in my Datagrid Search Style Pin
Vimalsoft(Pty) Ltd27-Aug-07 21:29
professionalVimalsoft(Pty) Ltd27-Aug-07 21:29 
QuestionCode structure Pin
digicd123-Aug-07 16:28
digicd123-Aug-07 16:28 
QuestionIs it Memory Problem????? Pin
dimuthuvbnet23-Aug-07 15:52
dimuthuvbnet23-Aug-07 15:52 
AnswerRe: Is it Memory Problem????? Pin
Luc Pattyn23-Aug-07 16:23
sitebuilderLuc Pattyn23-Aug-07 16:23 
AnswerRe: Is it Memory Problem????? Pin
Vimalsoft(Pty) Ltd23-Aug-07 19:56
professionalVimalsoft(Pty) Ltd23-Aug-07 19:56 
AnswerRe: Is it Memory Problem????? Pin
petersgyoung24-Aug-07 15:21
petersgyoung24-Aug-07 15:21 
Questionfastest way to select all checkboxes in DataGridView Pin
Far sh23-Aug-07 15:51
Far sh23-Aug-07 15:51 
I am using vb.net 2005, I have a DataGridView in my form which displays big amount of data (50,000 rows and above), the first column is checkbox.
I want to select all the rows by clicking a button,
But the problem is with the for loop, it takes long time to select all the checkboxes because it will check one by one
Here is my code :

For i As Integer = 0 To Me.dgvData.Rows.Count - 1
Me.dgvData.Item(0, i).Value = True
Next

even I tried :
For Each row As DataGridViewRow In Me.dgvData.Rows
row.Cells(0).Value = True
Next row
but still takes a long time to select all
My question is, what is the fastest way to select all the checkboxes? Is there another way to select all the checkboxes except 'for loop' and 'for each loop'?

Appreciate your consideration
AnswerRe: fastest way to select all checkboxes in DataGridView Pin
Dave Kreskowiak24-Aug-07 5:49
mveDave Kreskowiak24-Aug-07 5:49 
AnswerRe: fastest way to select all checkboxes in DataGridView Pin
Pascal Ganaye24-Aug-07 6:01
Pascal Ganaye24-Aug-07 6:01 
QuestionGmail problem in webbrowser control and its licence Pin
Ahmad Zaidi23-Aug-07 9:43
Ahmad Zaidi23-Aug-07 9:43 
AnswerRe: Gmail problem in webbrowser control and its licence Pin
Christian Graus23-Aug-07 11:32
protectorChristian Graus23-Aug-07 11:32 
QuestionVB6 Printing Problem Pin
slk100023-Aug-07 9:40
slk100023-Aug-07 9:40 
AnswerRe: VB6 Printing Problem Pin
Dave Kreskowiak24-Aug-07 5:46
mveDave Kreskowiak24-Aug-07 5:46 
QuestionTreeview Selected Node Pin
ejaz_pk23-Aug-07 5:58
ejaz_pk23-Aug-07 5:58 
AnswerRe: Treeview Selected Node Pin
Dave Kreskowiak24-Aug-07 6:03
mveDave Kreskowiak24-Aug-07 6:03 
GeneralRe: Treeview Selected Node Pin
ejaz_pk25-Aug-07 10:51
ejaz_pk25-Aug-07 10:51 
GeneralRe: Treeview Selected Node Pin
Dave Kreskowiak26-Aug-07 4:21
mveDave Kreskowiak26-Aug-07 4:21 
GeneralRe: Treeview Selected Node :how to implement the logic [modified] Pin
rama charan17-Dec-07 5:01
rama charan17-Dec-07 5:01 
QuestionAdding ActiveX IE plugins to WebBrowser Control Pin
Vivek Narayanan23-Aug-07 5:33
Vivek Narayanan23-Aug-07 5:33 
AnswerRe: Adding ActiveX IE plugins to WebBrowser Control Pin
Dave Kreskowiak24-Aug-07 6:08
mveDave Kreskowiak24-Aug-07 6:08 
QuestionCycling through Excel using VB 2003 to find duplicates Pin
Swisher2423-Aug-07 4:56
Swisher2423-Aug-07 4:56 
AnswerRe: Cycling through Excel using VB 2003 to find duplicates Pin
petersgyoung23-Aug-07 15:17
petersgyoung23-Aug-07 15:17 
GeneralRe: Cycling through Excel using VB 2003 to find duplicates Pin
Swisher2429-Aug-07 3:32
Swisher2429-Aug-07 3:32 
GeneralRe: Cycling through Excel using VB 2003 to find duplicates Pin
petersgyoung30-Aug-07 3:07
petersgyoung30-Aug-07 3:07 

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.