Server Error in '/' Application.

Incorrect syntax near the keyword 'and'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Incorrect syntax near the keyword 'and'.

Source Error:


Line 726:        }
Line 727:        catch (Exception ex)
Line 728:        { throw ex; }
Line 729:        finally
Line 730:        {

Source File: d:\inetpub\vhosts\kalyanakalpa.com\bridalkitchenette.com\pizza_burger.aspx.cs    Line: 728

Stack Trace:


[SqlException (0x80131904): Incorrect syntax near the keyword 'and'.]
   pizza_burger.countrybind() in d:\inetpub\vhosts\kalyanakalpa.com\bridalkitchenette.com\pizza_burger.aspx.cs:728
   pizza_burger.Page_Load(Object sender, EventArgs e) in d:\inetpub\vhosts\kalyanakalpa.com\bridalkitchenette.com\pizza_burger.aspx.cs:45
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0