Click here to Skip to main content
15,889,654 members
Home / Discussions / Database
   

Database

 
AnswerRe: Restore database using t-sq Pin
Paul Conrad4-Aug-07 18:25
professionalPaul Conrad4-Aug-07 18:25 
GeneralRe: Restore database using t-sq Pin
Stathread5-Aug-07 10:24
Stathread5-Aug-07 10:24 
AnswerRe: Restore database using t-sq Pin
ScottM16-Aug-07 2:12
ScottM16-Aug-07 2:12 
AnswerRe: Restore database using t-sq Pin
Mike Dimmick6-Aug-07 3:54
Mike Dimmick6-Aug-07 3:54 
QuestionHow to Code for Inserting Data into SQL using C# [modified] Pin
sacheesach3-Aug-07 22:10
sacheesach3-Aug-07 22:10 
AnswerRe: How to Code for Inserting Data into SQL using C# Pin
Colin Angus Mackay3-Aug-07 22:28
Colin Angus Mackay3-Aug-07 22:28 
GeneralRe: How to Code for Inserting Data into SQL using C# Pin
sacheesach3-Aug-07 22:48
sacheesach3-Aug-07 22:48 
GeneralRe: How to Code for Inserting Data into SQL using C# Pin
Colin Angus Mackay3-Aug-07 23:10
Colin Angus Mackay3-Aug-07 23:10 
sacheesach wrote:
I would like to mention that these lines have been coded by seeing Microsoft Help and I have not used the Wizard for creating this.


Okay - it looked a bit like you were using wizard created code, but on looking again it doesn't seem to be the case anymore.


sacheesach wrote:
The problem that this code doesn't give any error


It probably does but you are using the anti-pattern known at try-catch-ignore which is summed up by this line in your code:
catch(SqlException e){} 


Comment out the try and catch statements to run the code inside on its own. Does the debugger point out an error?


Upcoming events:
* Glasgow: Mock Objects, SQL Server CLR Integration, Reporting Services, db4o, Dependency Injection with Spring ...

"I wouldn't say boo to a goose. I'm not a coward, I just realise that it would be largely pointless."


My website

GeneralRe: How to Code for Inserting Data into SQL using C# Pin
sacheesach4-Aug-07 3:46
sacheesach4-Aug-07 3:46 
Questionhow to compare rows of database without using query? Pin
Affan Toor3-Aug-07 18:34
Affan Toor3-Aug-07 18:34 
AnswerRe: how to compare rows of database without using query? Pin
N a v a n e e t h3-Aug-07 21:50
N a v a n e e t h3-Aug-07 21:50 
GeneralRe: how to compare rows of database without using query? Pin
Affan Toor5-Aug-07 21:44
Affan Toor5-Aug-07 21:44 
QuestionSybase Profiler like SQL Profiler Pin
Bad Programmer3-Aug-07 11:22
Bad Programmer3-Aug-07 11:22 
AnswerRe: Sybase Profiler like SQL Profiler Pin
Paul Conrad4-Aug-07 8:42
professionalPaul Conrad4-Aug-07 8:42 
Questionsql 2005 32bit & 64 bit? Pin
costavo3-Aug-07 10:03
costavo3-Aug-07 10:03 
AnswerRe: sql 2005 32bit & 64 bit? Pin
Mike Dimmick3-Aug-07 13:38
Mike Dimmick3-Aug-07 13:38 
Questionfile with dot sql extension Pin
ASPnoob3-Aug-07 5:45
ASPnoob3-Aug-07 5:45 
AnswerRe: file with dot sql extension Pin
Mike Dimmick3-Aug-07 6:49
Mike Dimmick3-Aug-07 6:49 
AnswerRe: file with dot sql extension Pin
originSH5-Aug-07 21:51
originSH5-Aug-07 21:51 
QuestionActual probs in procedure..., Pin
Member 38798813-Aug-07 4:04
Member 38798813-Aug-07 4:04 
AnswerRe: Actual probs in procedure..., Pin
Colin Angus Mackay3-Aug-07 4:19
Colin Angus Mackay3-Aug-07 4:19 
QuestionTrying to convert some VB code into C# Pin
c0rvus3-Aug-07 2:57
c0rvus3-Aug-07 2:57 
AnswerRe: Trying to convert some VB code into C# Pin
Pete O'Hanlon3-Aug-07 3:32
mvePete O'Hanlon3-Aug-07 3:32 
GeneralRe: Trying to convert some VB code into C# Pin
c0rvus3-Aug-07 13:43
c0rvus3-Aug-07 13:43 
GeneralRe: Trying to convert some VB code into C# Pin
Pete O'Hanlon5-Aug-07 9:13
mvePete O'Hanlon5-Aug-07 9:13 

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.