samedi 11 avril 2015

Passing a Datagrid to Next Page


Vote count:

0




Sorry if I poorly explain this but I have a datagrid that will load on page load. When I enter a value in a textbox, the code will validate the textbox value with the database value of the first row in a specific column until the last entry is complete. I am deleting the first row on each button click after it is validated and updating the datagrid to show the next row. Is it possible to pass the updated datagrid to the next page if I am using just one user control page and refreshing that page on each button click to be able to validate the next row? I am passing values in the textbox to the next page using this code:



Usercontrolpage Page = new Usercontrolpage();
page.txtBoxName.Text = txtboxName.Text;
this.content = page;


Is it possible to pass the updated datagrid this way or should I use a datatable and a counter until the last value is entered?



asked 26 secs ago







Passing a Datagrid to Next Page

Aucun commentaire:

Enregistrer un commentaire