Click here to Skip to main content
15,892,072 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178017-Feb-10 7:05
User 680178017-Feb-10 7:05 
AnswerRe: Cross-Threading problem, InvokeRequired and Events Pin
#realJSOP15-Feb-10 23:21
mve#realJSOP15-Feb-10 23:21 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178019-Feb-10 4:10
User 680178019-Feb-10 4:10 
GeneralRe: Cross-Threading problem, InvokeRequired and Events Pin
User 680178019-Feb-10 8:06
User 680178019-Feb-10 8:06 
QuestionC# TableLayoutPanel MouseLeave Pin
ikurtz15-Feb-10 5:27
ikurtz15-Feb-10 5:27 
AnswerRe: C# TableLayoutPanel MouseLeave Pin
AhsanS15-Feb-10 5:48
AhsanS15-Feb-10 5:48 
GeneralRe: C# TableLayoutPanel MouseLeave Pin
ikurtz15-Feb-10 6:21
ikurtz15-Feb-10 6:21 
QuestionProblem using a class Pin
msg5512115-Feb-10 4:59
msg5512115-Feb-10 4:59 
I have created a C# application that has 3 modules so far, default.aspx, registration.aspx and supplierinfo.aspx all using code_behind. I then created a class dbConnect.cs that I will use to connect to a DB. I am able to instatiate the dbConnect class in supplierinfo.aspx.cs and get the connection string. In the other 2 modules I am unable to instatiate the dbConnect class. I enter:

var dbCon = new dbConnect(); OR dbConnect dbCon = new dbConnect;

and then do a build. I am getting the following error:

Error 35 The type or namespace name 'dbConnect' could not be found (are you missing a using directive or an assembly reference?)

I can't see any differences in the modules that would cause this. Has anyone run into this before or have any suggestions what to look for?

Thanks for the help
AnswerRe: Problem using a class Pin
vaghelabhavesh15-Feb-10 5:04
vaghelabhavesh15-Feb-10 5:04 
GeneralRe: Problem using a class Pin
msg5512115-Feb-10 5:31
msg5512115-Feb-10 5:31 
GeneralRe: Problem using a class Pin
vaghelabhavesh15-Feb-10 5:53
vaghelabhavesh15-Feb-10 5:53 
QuestionIP Address Pin
sanforjackass15-Feb-10 4:16
sanforjackass15-Feb-10 4:16 
AnswerRe: IP Address Pin
Migounette15-Feb-10 4:18
Migounette15-Feb-10 4:18 
GeneralRe: IP Address Pin
sanforjackass15-Feb-10 4:43
sanforjackass15-Feb-10 4:43 
GeneralRe: IP Address Pin
Dave Kreskowiak15-Feb-10 5:46
mveDave Kreskowiak15-Feb-10 5:46 
AnswerRe: IP Address Pin
Som Shekhar15-Feb-10 5:55
Som Shekhar15-Feb-10 5:55 
GeneralRe: IP Address Pin
sanforjackass15-Feb-10 9:20
sanforjackass15-Feb-10 9:20 
GeneralRe: IP Address Pin
Som Shekhar15-Feb-10 18:04
Som Shekhar15-Feb-10 18:04 
GeneralRe: IP Address Pin
sanforjackass15-Feb-10 21:37
sanforjackass15-Feb-10 21:37 
GeneralRe: IP Address Pin
Som Shekhar15-Feb-10 21:39
Som Shekhar15-Feb-10 21:39 
GeneralMessage Removed Pin
15-Feb-10 22:06
sanforjackass15-Feb-10 22:06 
GeneralRe: IP Address Pin
Som Shekhar15-Feb-10 22:08
Som Shekhar15-Feb-10 22:08 
GeneralRe: IP Address Pin
sanforjackass15-Feb-10 22:12
sanforjackass15-Feb-10 22:12 
GeneralRe: IP Address Pin
Som Shekhar15-Feb-10 22:13
Som Shekhar15-Feb-10 22:13 
GeneralRe: IP Address Pin
sanforjackass15-Feb-10 22:08
sanforjackass15-Feb-10 22:08 

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.