Click here to Skip to main content
15,889,116 members
Home / Discussions / C#
   

C#

 
QuestionMaking an app not function after some time Pin
naglbitur11-Apr-06 2:34
naglbitur11-Apr-06 2:34 
AnswerRe: Making an app not function after some time Pin
Timothy_198211-Apr-06 2:58
Timothy_198211-Apr-06 2:58 
AnswerRe: Making an app not function after some time Pin
thomasa11-Apr-06 3:04
thomasa11-Apr-06 3:04 
GeneralRe: Making an app not function after some time Pin
naglbitur11-Apr-06 3:57
naglbitur11-Apr-06 3:57 
GeneralRe: Making an app not function after some time Pin
naglbitur11-Apr-06 4:02
naglbitur11-Apr-06 4:02 
GeneralRe: Making an app not function after some time Pin
Gavin Roberts11-Apr-06 6:08
Gavin Roberts11-Apr-06 6:08 
AnswerRe: Making an app not function after some time Pin
Luis Alonso Ramos11-Apr-06 7:43
Luis Alonso Ramos11-Apr-06 7:43 
Questionhow to decalare varible Pin
papa198011-Apr-06 2:33
papa198011-Apr-06 2:33 
hi everybody pleas help me how to declare update varible with name @Marks1???
down you can see what i get when i try to exsecute command update?

Server Error in '/PrinterNew' Application.
--------------------------------------------------------------------------------

Must declare the variable '@Marks1'.
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: Must declare the variable '@Marks1'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Must declare the variable '@Marks1'.]
System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) +95
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +82
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +346
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj) +3244
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) +186
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async) +1121
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result) +334
System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe) +407
System.Data.SqlClient.SqlCommand.ExecuteNonQuery() +149
System.Web.UI.WebControls.SqlDataSourceView.ExecuteDbCommand(DbCommand command, DataSourceOperation operation) +493
System.Web.UI.WebControls.SqlDataSourceView.ExecuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues) +915
System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +179
System.Web.UI.WebControls.GridView.HandleUpdate(GridViewRow row, Int32 rowIndex, Boolean causesValidation) +1140
System.Web.UI.WebControls.GridView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +835
System.Web.UI.WebControls.GridView.OnBubbleEvent(Object source, EventArgs e) +162
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56
System.Web.UI.WebControls.GridViewRow.OnBubbleEvent(Object source, EventArgs e) +118
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +56
System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +107
System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +175
System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +31
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +32
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +244
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3836




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
AnswerRe: how to decalare varible Pin
naglbitur11-Apr-06 2:42
naglbitur11-Apr-06 2:42 
GeneralRe: how to decalare varible Pin
papa198011-Apr-06 2:58
papa198011-Apr-06 2:58 
AnswerRe: how to decalare varible Pin
Rob Philpott11-Apr-06 6:50
Rob Philpott11-Apr-06 6:50 
QuestionLaunching application from another application Pin
zaboboa11-Apr-06 2:10
zaboboa11-Apr-06 2:10 
AnswerRe: Launching application from another application Pin
J4amieC11-Apr-06 2:28
J4amieC11-Apr-06 2:28 
GeneralRe: Launching application from another application Pin
zaboboa11-Apr-06 2:31
zaboboa11-Apr-06 2:31 
GeneralRe: Launching application from another application Pin
Jim Bennett11-Apr-06 5:20
Jim Bennett11-Apr-06 5:20 
GeneralRe: Launching application from another application Pin
zaboboa11-Apr-06 5:48
zaboboa11-Apr-06 5:48 
GeneralRe: Launching application from another application Pin
Jim Bennett11-Apr-06 7:10
Jim Bennett11-Apr-06 7:10 
Questionhow to create a floating toolbar in c#? Pin
Sasuko11-Apr-06 2:07
Sasuko11-Apr-06 2:07 
AnswerRe: how to create a floating toolbar in c#? Pin
deanofharvard12-Apr-06 9:49
deanofharvard12-Apr-06 9:49 
QuestionTAPI driver (kind of) Pin
IAmChris11-Apr-06 1:20
IAmChris11-Apr-06 1:20 
AnswerRe: TAPI driver (kind of) Pin
Michael P Butler11-Apr-06 4:07
Michael P Butler11-Apr-06 4:07 
GeneralRe: TAPI driver (kind of) Pin
IAmChris11-Apr-06 23:52
IAmChris11-Apr-06 23:52 
QuestionChanging refresh rate Pin
Da_Masca11-Apr-06 0:51
Da_Masca11-Apr-06 0:51 
Questionimporting an exe as an assembly Pin
shezh11-Apr-06 0:48
shezh11-Apr-06 0:48 
QuestionHow to make time limited Trial Version Pin
emran83410-Apr-06 23:49
emran83410-Apr-06 23:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.