Hi all,
I have a problem with my form i created. When I click the submit button, everything works fine, all data are committed to database but if the user happens to click the submit again, the following exception occurs: Any idea?
I have cleared all my parameters for the insert command.
A first chance exception of type 'System.FormatE xception' occurred in System.Data.dll
standby being added
4
4
at System.Data.Pro viderBase.DbCon nectionInternal .OpenConnection (DbConnection outerConnection , DbConnectionFac tory connectionFacto ry)
at System.Data.Sql Client.SqlConne ction.Open()
at WindowsApplicat ion1.Form1.AddC ompanyStandby() in C:\Documents and Settings\Root\M y Documents\Visua l Studio 2008\Projects\W indowsApplicati on1\WindowsAppl ication1\Form2. vb:line 305
0
A first chance exception of type 'System.Invalid OperationExcept ion' occurred in System.Data.dll
at System.Data.Pro viderBase.DbCon nectionInternal .OpenConnection (DbConnection outerConnection , DbConnectionFac tory connectionFacto ry)
at System.Data.Sql Client.SqlConne ction.Open()
at WindowsApplicat ion1.Form1.AddC lientStandbyOve rtime() in C:\Documents and Settings\Root\M y Documents\Visua l Studio 2008\Projects\W indowsApplicati on1\WindowsAppl ication1\Form2. vb:line 120
A first chance exception of type 'System.Invalid OperationExcept ion' occurred in System.Data.dll
I have a problem with my form i created. When I click the submit button, everything works fine, all data are committed to database but if the user happens to click the submit again, the following exception occurs: Any idea?
I have cleared all my parameters for the insert command.
A first chance exception of type 'System.FormatE xception' occurred in System.Data.dll
standby being added
4
4
at System.Data.Pro viderBase.DbCon nectionInternal .OpenConnection (DbConnection outerConnection , DbConnectionFac tory connectionFacto ry)
at System.Data.Sql Client.SqlConne ction.Open()
at WindowsApplicat ion1.Form1.AddC ompanyStandby() in C:\Documents and Settings\Root\M y Documents\Visua l Studio 2008\Projects\W indowsApplicati on1\WindowsAppl ication1\Form2. vb:line 305
0
A first chance exception of type 'System.Invalid OperationExcept ion' occurred in System.Data.dll
at System.Data.Pro viderBase.DbCon nectionInternal .OpenConnection (DbConnection outerConnection , DbConnectionFac tory connectionFacto ry)
at System.Data.Sql Client.SqlConne ction.Open()
at WindowsApplicat ion1.Form1.AddC lientStandbyOve rtime() in C:\Documents and Settings\Root\M y Documents\Visua l Studio 2008\Projects\W indowsApplicati on1\WindowsAppl ication1\Form2. vb:line 120
A first chance exception of type 'System.Invalid OperationExcept ion' occurred in System.Data.dll
Comment