Click here to Skip to main content
15,907,687 members
Home / Discussions / C#
   

C#

 
QuestionVS-2005 C# windows forms and MS-Access 2003 Pin
AndieDu24-Nov-08 15:15
AndieDu24-Nov-08 15:15 
AnswerRe: VS-2005 C# windows forms and MS-Access 2003 Pin
Mycroft Holmes24-Nov-08 15:21
professionalMycroft Holmes24-Nov-08 15:21 
GeneralRe: VS-2005 C# windows forms and MS-Access 2003 Pin
AndieDu24-Nov-08 15:36
AndieDu24-Nov-08 15:36 
GeneralRe: VS-2005 C# windows forms and MS-Access 2003 Pin
Mycroft Holmes24-Nov-08 15:44
professionalMycroft Holmes24-Nov-08 15:44 
GeneralRe: VS-2005 C# windows forms and MS-Access 2003 Pin
Christian Graus24-Nov-08 15:51
protectorChristian Graus24-Nov-08 15:51 
GeneralRe: VS-2005 C# windows forms and MS-Access 2003 Pin
Paul Conrad24-Nov-08 16:53
professionalPaul Conrad24-Nov-08 16:53 
AnswerRe: VS-2005 C# windows forms and MS-Access 2003 Pin
Vimalsoft(Pty) Ltd24-Nov-08 19:21
professionalVimalsoft(Pty) Ltd24-Nov-08 19:21 
QuestionExtracting Cell Data From A DataGridView Pin
Rafone24-Nov-08 10:26
Rafone24-Nov-08 10:26 
I have a datagridview that has data in 2 columns that I would like to make into a list (Column [1] and Column[2])

I have been trying...


for (int i = 0; i < dgv2.RowCount - 1; i++)
{
x = (dgv2.Rows[i].Cells[1].Value.ToString());
y = (dgv2.Rows[i].Cells[2].Value.ToString());
}

This works for string values but Column 1 is a Date value and Column 2 is a float from an SQL db, and I need to convert them to double.

It seems to be iterating through the DGV ok but I am not sure how to get the data converted.


Can someone point me in the right direction??

TIA
Rafone

Statistics are like bikini's...
What they reveal is astonishing ...
But what they hide is vital ...
AnswerRe: Extracting Cell Data From A DataGridView Pin
TxPomeroy24-Nov-08 11:44
TxPomeroy24-Nov-08 11:44 
GeneralRe: Extracting Cell Data From A DataGridView Pin
Rafone24-Nov-08 12:46
Rafone24-Nov-08 12:46 
GeneralRe: Extracting Cell Data From A DataGridView Pin
TxPomeroy25-Nov-08 3:44
TxPomeroy25-Nov-08 3:44 
AnswerRe: Extracting Cell Data From A DataGridView Pin
nelsonpaixao24-Nov-08 12:27
nelsonpaixao24-Nov-08 12:27 
QuestionIssue with array and program taking so long to run Pin
SilentCodingOne24-Nov-08 9:38
SilentCodingOne24-Nov-08 9:38 
AnswerRe: Issue with array and program taking so long to run Pin
Jimmanuel24-Nov-08 9:59
Jimmanuel24-Nov-08 9:59 
QuestionRe: Issue with array and program taking so long to run Pin
SilentCodingOne24-Nov-08 10:27
SilentCodingOne24-Nov-08 10:27 
AnswerRe: Issue with array and program taking so long to run Pin
Ben Fair24-Nov-08 10:59
Ben Fair24-Nov-08 10:59 
AnswerRe: Issue with array and program taking so long to run Pin
Jimmanuel24-Nov-08 11:00
Jimmanuel24-Nov-08 11:00 
GeneralRe: Issue with array and program taking so long to run Pin
SilentCodingOne24-Nov-08 16:54
SilentCodingOne24-Nov-08 16:54 
AnswerRe: Issue with array and program taking so long to run Pin
Ben Fair24-Nov-08 10:49
Ben Fair24-Nov-08 10:49 
GeneralRe: Issue with array and program taking so long to run Pin
SilentCodingOne24-Nov-08 16:53
SilentCodingOne24-Nov-08 16:53 
QuestionEditing Database using ADO.NET Pin
Ain't me babe24-Nov-08 9:11
Ain't me babe24-Nov-08 9:11 
AnswerRe: Editing Database using ADO.NET Pin
Christian Graus24-Nov-08 9:24
protectorChristian Graus24-Nov-08 9:24 
QuestionSo your question is Pin
led mike24-Nov-08 9:26
led mike24-Nov-08 9:26 
AnswerRe: So your question is Pin
Ain't me babe24-Nov-08 9:55
Ain't me babe24-Nov-08 9:55 
GeneralRe: So your question is Pin
led mike24-Nov-08 10:01
led mike24-Nov-08 10:01 

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.