Click here to Skip to main content
15,889,436 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: treeview scrollbars Pin
lee2315-Aug-07 22:22
lee2315-Aug-07 22:22 
GeneralRe: treeview scrollbars Pin
Tom Deketelaere15-Aug-07 22:44
professionalTom Deketelaere15-Aug-07 22:44 
QuestionLooping thru one column Pin
zchwllms15-Aug-07 10:12
zchwllms15-Aug-07 10:12 
AnswerRe: Looping thru one column Pin
Luc Pattyn15-Aug-07 10:26
sitebuilderLuc Pattyn15-Aug-07 10:26 
QuestionRe: Looping thru one column Pin
zchwllms15-Aug-07 10:39
zchwllms15-Aug-07 10:39 
AnswerRe: Looping thru one column Pin
Luc Pattyn15-Aug-07 10:56
sitebuilderLuc Pattyn15-Aug-07 10:56 
GeneralRe: Looping thru one column Pin
zchwllms15-Aug-07 11:01
zchwllms15-Aug-07 11:01 
GeneralRe: Looping thru one column Pin
Luc Pattyn15-Aug-07 11:36
sitebuilderLuc Pattyn15-Aug-07 11:36 
Hi,

I haven't used DataGridView myself, here is my best guess:
- DGV has a property called Rows, this holds all the rows, so you can iterate them
with a foreach (DataGridViewRow row in myDGV.Rows) {...}
- a DataGridViewRow has a property called Cells, this holds all the cells of that
row, as in one array; you can apply an index to them as in
row.Cells[i];
- with the above, you could access all the cells that belong to a single column,
provided you now the index of that column. If you have to find out that index,
well DGV has a property called Columns, this holds all the column descriptions
(not the data, just metadata).

I hope and think that would put you on track.

Smile | :)


Luc Pattyn [Forum Guidelines] [My Articles]


this weeks tips:
- make Visual display line numbers: Tools/Options/TextEditor/...
- show exceptions with ToString() to see all information
- before you ask a question here, search CodeProject, then Google


GeneralRe: Looping thru one column Pin
zchwllms15-Aug-07 11:46
zchwllms15-Aug-07 11:46 
AnswerRe: Looping thru one column Pin
GuyThiebaut16-Aug-07 5:28
professionalGuyThiebaut16-Aug-07 5:28 
GeneralRe: Looping thru one column Pin
zchwllms16-Aug-07 5:55
zchwllms16-Aug-07 5:55 
QuestionSelected Text Pin
Taylor Kobani15-Aug-07 8:33
Taylor Kobani15-Aug-07 8:33 
AnswerRe: Selected Text Pin
Luc Pattyn15-Aug-07 9:07
sitebuilderLuc Pattyn15-Aug-07 9:07 
AnswerRe: Selected Text Pin
Dave Kreskowiak15-Aug-07 9:22
mveDave Kreskowiak15-Aug-07 9:22 
AnswerRe: Selected Text Pin
DigiOz Multimedia15-Aug-07 11:56
DigiOz Multimedia15-Aug-07 11:56 
GeneralRe: Selected Text Pin
Zia Ul Haq Soofi15-Aug-07 21:50
Zia Ul Haq Soofi15-Aug-07 21:50 
GeneralRe: Selected Text Pin
Taylor Kobani16-Aug-07 0:05
Taylor Kobani16-Aug-07 0:05 
GeneralRe: Selected Text Pin
DigiOz Multimedia16-Aug-07 4:07
DigiOz Multimedia16-Aug-07 4:07 
QuestionSelect all from datagridview Pin
Froz3n15-Aug-07 8:27
Froz3n15-Aug-07 8:27 
AnswerRe: Select all from datagridview Pin
Taylor Kobani15-Aug-07 8:42
Taylor Kobani15-Aug-07 8:42 
GeneralRe: Select all from datagridview Pin
Froz3n15-Aug-07 8:58
Froz3n15-Aug-07 8:58 
GeneralRe: Select all from datagridview Pin
Taylor Kobani16-Aug-07 0:21
Taylor Kobani16-Aug-07 0:21 
Questionhow to open an URL and save the content? Pin
kevindotnet15-Aug-07 3:44
kevindotnet15-Aug-07 3:44 
AnswerRe: how to open an URL and save the content? Pin
MidwestLimey15-Aug-07 8:16
professionalMidwestLimey15-Aug-07 8:16 
AnswerRe: how to open an URL and save the content? Pin
DigiOz Multimedia15-Aug-07 8:37
DigiOz Multimedia15-Aug-07 8:37 

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.