Server Error in '/' Application.

Invalid object name 'tbl_Loaihoidap'.

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: Invalid object name 'tbl_Loaihoidap'.

Source Error:


Line 14:         Dim cmd As New SqlCommand("UPDATE tbl_Loaihoidap SET luotxem = luotxem + 1 WHERE malt = " + Request.QueryString("malt") + "", connstr)
Line 15:         cmd.CommandType = CommandType.Text
Line 16:         cmd.ExecuteNonQuery()
Line 17:         connstr.Close()
Line 18:     End Sub

Source File: C:\inetpub\wwwroot\daylamkem.comNew\chi-tiet-hoi-dap.aspx.vb    Line: 16

Stack Trace:


[SqlException (0x80131904): Invalid object name 'tbl_Loaihoidap'.]
   System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +212
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +245
   System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +2843
   System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) +2886447
   System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +470
   System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +182
   chitiethoidap.Page_Load(Object sender, EventArgs e) in C:\inetpub\wwwroot\daylamkem.comNew\chi-tiet-hoi-dap.aspx.vb:16
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8762; ASP.NET Version:2.0.50727.8762