Technical guru

Technical guru

  • NA
  • 63
  • 8.8k

how to incerase value of row in vb.net

Oct 9 2018 1:26 AM
how to incerase value of row in vb.net
 
CODE GIVEN
 
for (int i = 2; i <= 40; i = i + 2)
{
for (int k = 1; k <= 6;k++)
{
grid1.Cell(i, 1).Text = ds.Tables[0].Rows[k]["Period"].ToString();
}
}
 
their Values of k Can not increase why ??
 
Please Help

Answers (3)