Click here to Skip to main content
15,899,679 members
Home / Discussions / C#
   

C#

 
GeneralRe: language question Pin
OlaMohammed18-Feb-07 0:25
OlaMohammed18-Feb-07 0:25 
AnswerRe: language question Pin
Stefan Troschuetz17-Feb-07 3:30
Stefan Troschuetz17-Feb-07 3:30 
QuestionChanging an object value in listbox control .. Pin
Hussam Fattahi17-Feb-07 0:38
Hussam Fattahi17-Feb-07 0:38 
AnswerRe: Changing an object value in listbox control .. Pin
Luc Pattyn17-Feb-07 1:32
sitebuilderLuc Pattyn17-Feb-07 1:32 
GeneralRe: Changing an object value in listbox control .. Pin
Hussam Fattahi17-Feb-07 1:48
Hussam Fattahi17-Feb-07 1:48 
QuestionMiddle Text line Pin
MHASSANF17-Feb-07 0:19
MHASSANF17-Feb-07 0:19 
AnswerRe: Middle Text line Pin
Stefan Troschuetz17-Feb-07 1:45
Stefan Troschuetz17-Feb-07 1:45 
QuestionMultiple Datagridview Export to new Form Pin
Rick van Woudenberg16-Feb-07 23:40
Rick van Woudenberg16-Feb-07 23:40 
Dear all,

I have the following question, and I would highly appreciate it if anyone of you could point e in the right direction. I have this DataGridView, which is filled somewhere along the line. I want to export the values of each individual column and row to a global integer in order to use this value a bit further up in my application. I dreamed up something like this :

//global decleration<br />
public static string NAME;


And inside the methode :

NAME = dataGridView2.Rows[dataGridView2.CurrentCell.RowIndex].Cells["werkAantalDataGridViewTextBoxColumn"].Value.ToString();

or if I want to dump the value to a textbox :

this.txt1.Text = dataGridView2.Rows[dataGridView2.CurrentCell.RowIndex].Cells["werkAantalDataGridViewTextBoxColumn"].Value.ToString();

This works, until I have multiple values in my columns. I would like to display all of the values in the column or row. How can I tell the program to move to the next column or row, grab the value and store it somewhere.

Any help would be kindly appreciated.

Cheers
AnswerRe: Multiple Datagridview Export to new Form Pin
Heath Stewart17-Feb-07 5:57
protectorHeath Stewart17-Feb-07 5:57 
QuestionCobol to .NET URGENT Pin
Niiiissssshhhhhuuuuu16-Feb-07 23:24
Niiiissssshhhhhuuuuu16-Feb-07 23:24 
AnswerRe: Cobol to .NET URGENT Pin
Thomas Stockwell17-Feb-07 3:57
professionalThomas Stockwell17-Feb-07 3:57 
AnswerRe: Cobol to .NET URGENT Pin
Colin Angus Mackay17-Feb-07 5:07
Colin Angus Mackay17-Feb-07 5:07 
GeneralRe: Cobol to .NET URGENT Pin
Niiiissssshhhhhuuuuu18-Feb-07 17:12
Niiiissssshhhhhuuuuu18-Feb-07 17:12 
QuestionTextBox, automatic scroll to bottom when appending text Pin
zark9216-Feb-07 23:14
zark9216-Feb-07 23:14 
AnswerRe: TextBox, automatic scroll to bottom when appending text Pin
Stefan Troschuetz16-Feb-07 23:19
Stefan Troschuetz16-Feb-07 23:19 
GeneralRe: TextBox, automatic scroll to bottom when appending text Pin
zark9217-Feb-07 9:09
zark9217-Feb-07 9:09 
AnswerRe: TextBox, automatic scroll to bottom when appending text Pin
Luc Pattyn17-Feb-07 1:37
sitebuilderLuc Pattyn17-Feb-07 1:37 
QuestionCC the message in email client Pin
EEmaan16-Feb-07 22:49
EEmaan16-Feb-07 22:49 
AnswerRe: CC the message in email client Pin
Michael Sync17-Feb-07 1:38
Michael Sync17-Feb-07 1:38 
AnswerRe: CC the message in email client Pin
Luc Pattyn17-Feb-07 1:40
sitebuilderLuc Pattyn17-Feb-07 1:40 
QuestionView state Pin
kalyan_241616-Feb-07 21:46
kalyan_241616-Feb-07 21:46 
AnswerRe: View state Pin
Michael Sync16-Feb-07 23:03
Michael Sync16-Feb-07 23:03 
QuestionRequest Pin
md_refay16-Feb-07 20:51
md_refay16-Feb-07 20:51 
Questionconfused phrases Pin
md_refay16-Feb-07 20:44
md_refay16-Feb-07 20:44 
AnswerRe: confused phrases Pin
Stefan Troschuetz16-Feb-07 20:58
Stefan Troschuetz16-Feb-07 20:58 

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.