Colleagues,
I'm working my way through the "Murach's ASP.NET 4.6 Web Programming with C# 2015", now on chapter 6.
Coded whatever was printed in the book, + added (had to!) some of my own (e.g. added <div class = "row">, etc., to make the page in browser looking a bit more readable).
Got this error when hit the button "Go to Checkout":
Code behind Cart.btnChecOut_Click
Checkout page starts loading and - boom! This error message appears.
What's irritating and astonishing, is that there no this word, "provider", anywhere in the code except in the connect string (which does work on the previous two pages)!
What am I missing?
Please advise.
(If you need to have this project - I can "ZIP it and ship it" to here.)
Regards,
Ilya
I'm working my way through the "Murach's ASP.NET 4.6 Web Programming with C# 2015", now on chapter 6.
Coded whatever was printed in the book, + added (had to!) some of my own (e.g. added <div class = "row">, etc., to make the page in browser looking a bit more readable).
Got this error when hit the button "Go to Checkout":
Code behind Cart.btnChecOut_Click
Code:
protected void btnCheckOut_Click(object sender, EventArgs e)
{
// lblMessage.Text = "Sorry, that function hasn't been implemented yet.";
Customer customer = new Customer();
Response.Redirect("/CheckOut.aspx");
}
Checkout page starts loading and - boom! This error message appears.
What's irritating and astonishing, is that there no this word, "provider", anywhere in the code except in the connect string (which does work on the previous two pages)!
What am I missing?
Please advise.
(If you need to have this project - I can "ZIP it and ship it" to here.)
Regards,
Ilya