K
kai
Hi, All
I put Drop Down List on a ASP.NET form, it contains "CustomerID" from
Northwind Database from SQL Server 2000 "Customers" table. I use
SqlDataAdapter, SqlConnection and DataSet control to connect the
"ddlCustomerID" control. When I select a customerID from the list, let say
"BLONP",
and navigate to next page, it always point to first item on the list
"ALFKI". This is my code on "btnNext_Click" event:
Session("customerID")=ddlCustomerID.SelectedItem.Value
Me.Response.Redirect("next.aspx")
On next.aspx page, I have Session("customerID")="ALFKI" all time. What is my
problem?
Thanks
Kai
I put Drop Down List on a ASP.NET form, it contains "CustomerID" from
Northwind Database from SQL Server 2000 "Customers" table. I use
SqlDataAdapter, SqlConnection and DataSet control to connect the
"ddlCustomerID" control. When I select a customerID from the list, let say
"BLONP",
and navigate to next page, it always point to first item on the list
"ALFKI". This is my code on "btnNext_Click" event:
Session("customerID")=ddlCustomerID.SelectedItem.Value
Me.Response.Redirect("next.aspx")
On next.aspx page, I have Session("customerID")="ALFKI" all time. What is my
problem?
Thanks
Kai