Click here to Skip to main content
15,888,527 members

Comments by Mahdi Dahir (Top 5 by date)

Mahdi Dahir 4-Nov-21 14:40pm View    
Hi, so part is giving me an error: textBox3.Text = row.Cells[1].Value.ToString();

is showing an error. However, if I remove that piece of code it just shows the error in the next line of code.
Mahdi Dahir 4-Nov-21 13:12pm View    
Hi, I'm this didn't help my issue. I'm pretty new to c# so I'm not sure what I'm looking for. Sorry for being such a noob.
Mahdi Dahir 4-Nov-21 13:12pm View    
Deleted
Hi, I'm this didn't help my issue. I'm pretty new to c# so I'm not sure what I'm looking for. Sorry for being such a noob.
Mahdi Dahir 4-Nov-21 13:07pm View    
I'm getting the same error when the value is 0 or -1.
Mahdi Dahir 4-Nov-21 13:03pm View    
Hi, I did that because the Datagridview was only showing the data in the second row since the computer read the first row as 0. Even though I'm still getting an error.