Click here to Skip to main content
15,918,976 members
Home / Discussions / C#
   

C#

 
GeneralRe: Event handling in Context menu of TreeView node Pin
led mike29-Feb-08 5:08
led mike29-Feb-08 5:08 
GeneralRe: Event handling in Context menu of TreeView node Pin
RobSmith7729-Feb-08 5:13
RobSmith7729-Feb-08 5:13 
General3tier Pin
Trustapple29-Feb-08 4:37
Trustapple29-Feb-08 4:37 
GeneralIgnore: Code dump, no question Pin
led mike29-Feb-08 4:45
led mike29-Feb-08 4:45 
GeneralRe: Ignore: Code dump, no question Pin
MidwestLimey29-Feb-08 4:55
professionalMidwestLimey29-Feb-08 4:55 
GeneralRe: 3tier Pin
J4amieC29-Feb-08 5:25
J4amieC29-Feb-08 5:25 
GeneralRe: 3tier Pin
Dave Kreskowiak29-Feb-08 6:05
mveDave Kreskowiak29-Feb-08 6:05 
GeneralRe: 3tier Pin
Pete O'Hanlon29-Feb-08 9:26
mvePete O'Hanlon29-Feb-08 9:26 
You might want to consider investing in a source control system or moving this to the recylce bin. Either way, don't clutter up the forums. But I do have to catch you with this bit:
Trustapple wrote:
try
{
cmdObj.Connection = conObj;
cmdObj.CommandText = "createTable";
cmdObj.CommandType = System.Data.CommandType.StoredProcedure;
cmdObj.Parameters.AddWithValue("@databaseName", nameDB);
cmdObj.Parameters.AddWithValue("@databaseTable", tableName);
cmdObj.Parameters.AddWithValue("@primaryKey", @"ClientCoCustListID");
cmdObj.ExecuteNonQuery();
}
catch (Exception ex)
{
}
finally
{
}
}


Never ever catch an exception and do nothing with it - and certainly don't have a finally block that does nothing.


Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralHandling access violations in a .NET program - generated by native code Pin
dabs29-Feb-08 4:13
dabs29-Feb-08 4:13 
GeneralRe: Handling access violations in a .NET program - generated by native code Pin
led mike29-Feb-08 4:44
led mike29-Feb-08 4:44 
Questionhow to implement role-based user authentication in a C# application (.net3.x) Pin
Robert Kloosterman29-Feb-08 4:13
Robert Kloosterman29-Feb-08 4:13 
GeneralRe: how to implement role-based user authentication in a C# application (.net3.x) Pin
led mike29-Feb-08 4:34
led mike29-Feb-08 4:34 
Question[Message Deleted] Pin
Member 437089829-Feb-08 3:30
Member 437089829-Feb-08 3:30 
GeneralRe: DownLoading Vedio file. Pin
Not Active29-Feb-08 3:59
mentorNot Active29-Feb-08 3:59 
GeneralRe: DownLoading Vedio file. Pin
Paul Conrad29-Feb-08 4:28
professionalPaul Conrad29-Feb-08 4:28 
GeneralRe: DownLoading Vedio file. Pin
Dan Neely29-Feb-08 4:55
Dan Neely29-Feb-08 4:55 
QuestionDownLoading Vedio file. Pin
Member 437089829-Feb-08 3:29
Member 437089829-Feb-08 3:29 
GeneralRe: DownLoading Vedio file. Pin
Colin Angus Mackay29-Feb-08 4:12
Colin Angus Mackay29-Feb-08 4:12 
GeneralRe: DownLoading Vedio file. Pin
Paul Conrad29-Feb-08 4:29
professionalPaul Conrad29-Feb-08 4:29 
GeneralNewbie problem Pin
josip cagalj29-Feb-08 2:52
josip cagalj29-Feb-08 2:52 
GeneralRe: Newbie problem Pin
Xmen Real 29-Feb-08 2:59
professional Xmen Real 29-Feb-08 2:59 
GeneralRe: Newbie problem Pin
blakey40429-Feb-08 4:06
blakey40429-Feb-08 4:06 
GeneralRe: Newbie problem [modified] Pin
josip cagalj2-Mar-08 21:50
josip cagalj2-Mar-08 21:50 
Generalbug Pin
amit_8329-Feb-08 2:48
amit_8329-Feb-08 2:48 
GeneralRe: bug Pin
phannon8629-Feb-08 2:52
professionalphannon8629-Feb-08 2:52 

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.