hi all I have a connection to a sql d/b that loads data into a gridview. now in this grid view I have edit buttons that process user onto the 'edit' page (a separate page). the data from the row that was selected for editing was sent to the next page via the session technique. My question is, how can I make ediits from the second page update the sql d/b ? Thanks for your time!
UserName.Text = ((DataControlFieldCell)Session["TheRow1"]).Text;
PassWord.Text = ((DataControlFieldCell)Session["TheRow2"]).Text;
DropDownList1.Text = ((DataControlFieldCell)Session["TheRow3"]).Text;
EmailBox.Text = ((DataControlFieldCell)Session["TheRow4"]).Text;
TelBox.Text = ((DataControlFieldCell)Session["TheRow5"]).Text;
OrgBox.Text = ((DataControlFieldCell)Session["TheRow6"]).Text;
FaxBox.Text = ((DataControlFieldCell)Session["TheRow7"]).Text;
AddressBox.Text = ((DataControlFieldCell)Session["TheRow8"]).Text;
DCreatedBox.Text = ((DataControlFieldCell)Session["TheRow9"]).Text;
DExpiresBox.Text = ((DataControlFieldCell)Session["TheRow10"]).Text;
DModBox.Text = ((DataControlFieldCell)Session["TheRow11"]).Text;
UserName.ReadOnly = true;
BTW the code above demonstrates the filling up of components on edit page!