K
Keith Smith
I know I am missing something simple here. I have tried looking on Google
for a solution, but can't seem to do it. What is wrong with my code...?
foreach (DataRow myRow in yy.Tables[0].Rows)
{
MessageBox.Show((string)yy.Tables[0].Rows[myRow]["name"].ToString());
}
My goal is to MessageBox for each item in the "name" row.
for a solution, but can't seem to do it. What is wrong with my code...?
foreach (DataRow myRow in yy.Tables[0].Rows)
{
MessageBox.Show((string)yy.Tables[0].Rows[myRow]["name"].ToString());
}
My goal is to MessageBox for each item in the "name" row.