Within the iteminserting event of my listview control I am attempting to redirect the user to a web page that is being pre-populated by a query string variable (customer_id) from my backend db.
I am using the attached C# code on my calling page but I get the error:
tion: Operator '=' incompatible with operand types 'Int32' and 'Object"???
Any help appreciated.
protected void lvTrustAccounts_ItemInserting(object sender, ListViewInsertEventArgs e)
var customerID = e.Values["customer_id"];
Response.Redirect("http://www.tradeselector.co.uk/customerTrades.aspx?trustid=" + customerID + "");