חחח שכחתי שזה C משופר(בערך) אז לא
חשבתי להשתמש בזה. טוב הנה השגיאה
-------------------------------------------------------------------------------- ERROR [42000] [MySQL][ODBC 3.51 Driver][mysqld-4.0.14-max-debug]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''גכעגכעגכעכעגכ גכעגכע גכ כרעחכיחחליחלך,'',' 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.Odbc.OdbcException: ERROR [42000] [MySQL][ODBC 3.51 Driver][mysqld-4.0.14-max-debug]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''גכעגכעגכעכעגכ גכעגכע גכ כרעחכיחחליחלך,'',' Source Error: Line 30: string Newsin="Insert Into tbl_News(Author,Title,Full_news,link1,link1Des) VALUES('"+Writer+"','"+Title+"','"+news+"','"+link1+"','"+link1Des+"')"; Line 31: OdbcCommand nCmd = new OdbcCommand(Newsin, conn); Line 32: nCmd.ExecuteNonQuery(); Line 33: lbl1.Text="ההודעה נכנסה בהצלחה"; Line 34: nCmd.Dispose(); Source File: C:\Inetpub\wwwroot\MyWebinAspx\add_news.aspx Line: 32
אתה אמור להבין שזה תוקע לי את כל תהליך המערכת וזה יכול לחשוף פרטים חשובים לא
זאת הבעיה האם לפתור בReplace גם כן?