Accessing Data in Datagrids

  • Thread starter Thread starter Brian Conway
  • Start date Start date
B

Brian Conway

Is there a way to pull a particular cell data from the selected row? I want
to do a
Server.Transfer to another form and grab the cell information on the form
that was called into a
multi-line TextBox on another web form. I can get the
values by making session variables with and it will pass to the other form,
but that defeats the purpose of a Server.Transfer doesn't it? I wanted to
use regular variables and not Session variables.

Session["xUnit"] = e.Item.Cells[1].Text;
 
Brian,

In this case, I would just add the values that you want to the
querystring and then process them appropriately on the page that you are
transferring to.

Hope this helps.
 
Back
Top