Mich P

Mich P

  • NA
  • 6
  • 1k

Anyone who knows what is wrong?

May 29 2019 1:42 AM
Anyone who knows what is wrong? 
 
GridViewRow row = GridView1.SelectedRow;
txtArtikelnummer.Text = row.Cells[1].Text;
txtArtikelomschrijving.Text = row.Cells[2].Text;
txtPrijs.Text = row.Cells[3].Text;
txtKortingscode.Text = row.Cells[4].Text;
_controller.setSessionList(txtArtikelomschrijving.Text);
for (int i = 0; i < _controller.getSessionList().Count; i++)
{
GridView GridView2 = new GridView();
GridView2.DataSource = _controller.getSessionList()[i];
GridView2.DataBind();
panel.Controls.Add(GridView2);
}

Answers (1)