Server Error in '/' Application.

'=' yakınındaki sözdizimi yanlış. (select * from u9118356_dbkabaf.galeri Where id=)

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.Exception: '=' yakınındaki sözdizimi yanlış. (select * from u9118356_dbkabaf.galeri Where id=)

Source Error:


Line 75:         {
Line 76:             // throw new Exception(ex.Message);
Line 77:             throw new Exception(ex.Message + " (" + sql + ")");
Line 78:         }
Line 79:         adapter.Dispose();

Source File: d:\vhosts\kabafii.com\httpdocs\App_Code\Fonksiyon.cs    Line: 77

Stack Trace:


[Exception: '=' yakınındaki sözdizimi yanlış. (select * from u9118356_dbkabaf.galeri Where id=)]
   Fonksiyon.GetDataTable(String sql) in d:\vhosts\kabafii.com\httpdocs\App_Code\Fonksiyon.cs:77
   Fonksiyon.GetDataRow(String sql) in d:\vhosts\kabafii.com\httpdocs\App_Code\Fonksiyon.cs:106
   fotogaleri.bilgiCek() in d:\vhosts\kabafii.com\httpdocs\fotogaleri.aspx.cs:48
   fotogaleri.Page_Load(Object sender, EventArgs e) in d:\vhosts\kabafii.com\httpdocs\fotogaleri.aspx.cs:107
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   PageBase.OnLoad(EventArgs e) in d:\vhosts\kabafii.com\httpdocs\App_Code\PageBase.cs:13
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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