I have a page with a gridview that selects an invoice to display, then upon selectedindexchanged it closes the gridview panel and displays a panel that looks like an invoice with various databound controls for editing, deleting etc...
The information I do not allow to edit, but that is only used for display is populated by a SqlDataReader with a function in my code Read_Invoice_Info()
Upon first selection, everything is populated and displays correctly;
if (mySqlRdr.Read())
{
_CustomerID = Convert.ToInt32(mySqlRdr["CustomerID"]);
CustomerID.Text = _CustomerID.ToString();
So according to this the variables _CustomerID and _CustomerOrderID since the label displays are showing data should also be populated with the correct data, but later on in my button_click events lets say Print the invoice which navigates to a separate page and passes the CustomerOrderID in a querystring
protected vo ...
Go to the complete details ...