Help on ASP
Eroarea:Server Error in '/Teza_de_diploma' Application.--------------------------------------------------------------------------------В операции должен использоваться обновляемый запрос. 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.OleDb.OleDbException: В операции должен использоваться обновляемый запрос.Source Error: Line 139: OleDbCommand cmd = new OleDbCommand(insert, Conn);Line 140://cmd.ExecuteReader();Line 141:cmd.ExecuteNonQuery();Line 142://ArrayList obj = new ArrayList();Line 143://OleDbDataReader reader = new OleDbDataReader();// OleDbDataReader(); Source File: c:\inetpub\wwwroot\teza_de_diploma\inregistrare.aspx.cs Line: 141 Stack Trace: [OleDbException (0x80004005): В операции должен использоваться обновляемый запрос.] System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr) System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult) System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult) System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult) System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method) System.Data.OleDb.OleDbCommand.ExecuteNonQuery() Teza_de_diploma.inregistrare.ExecuteScalar(String source, String insert) in c:\inetpub\wwwroot\teza_de_diploma\inregistrare.aspx.cs:141 Teza_de_diploma.inregistrare.btn_accept_Click(Object sender, EventArgs e) in c:\inetpub\wwwroot\teza_de_diploma\inregistrare.aspx.cs:109 System.Web.UI.WebControls.Button.OnClick(EventArgs e) System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) System.Web.UI.Page.ProcessRequestMain() --------------------------------------------------------------------------------Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573