Click here to Skip to main content
15,897,226 members
Home / Discussions / C#
   

C#

 
Question.Net threading: get the concept, no idea how to implement Pin
MarkGMcM4-Oct-08 14:58
MarkGMcM4-Oct-08 14:58 
AnswerRe: .Net threading: get the concept, no idea how to implement Pin
DaveyM694-Oct-08 23:15
professionalDaveyM694-Oct-08 23:15 
QuestionC# web app / class library question Pin
circonian4-Oct-08 10:48
circonian4-Oct-08 10:48 
AnswerRe: C# web app / class library question Pin
Vimalsoft(Pty) Ltd4-Oct-08 23:38
professionalVimalsoft(Pty) Ltd4-Oct-08 23:38 
QuestionSpelling Control Pin
Bob X4-Oct-08 8:50
Bob X4-Oct-08 8:50 
QuestionConnecting to a c# Local Database Pin
Alex Grose4-Oct-08 3:11
Alex Grose4-Oct-08 3:11 
AnswerRe: Connecting to a c# Local Database Pin
TALHAKOSEN4-Oct-08 3:31
TALHAKOSEN4-Oct-08 3:31 
GeneralRe: Connecting to a c# Local Database Pin
Alex Grose4-Oct-08 3:46
Alex Grose4-Oct-08 3:46 
Sorry, I have tried to connect using this method, the file is called Register.sdf and is in the same directory as the project content. This code fails to load the database effectively.

This is the code I am trying to use (The 'Global' Class is a static class containing the RegDB Variable)
private bool loadDatabase() {
  Global.RegDB = new SqlConnection();
  Global.RegDB.ConnectionString = "Integrated Security = True; Initial Catalog =dbName; Data Source=localhost;";
  try {
    Global.RegDB.Open();
    return true;
  }
  catch {
    return false;
  }
}

GeneralRe: Connecting to a c# Local Database Pin
Alex Grose4-Oct-08 4:23
Alex Grose4-Oct-08 4:23 
AnswerRe: Connecting to a c# Local Database Pin
leckey4-Oct-08 5:57
leckey4-Oct-08 5:57 
GeneralRe: Connecting to a c# Local Database Pin
Alex Grose4-Oct-08 6:01
Alex Grose4-Oct-08 6:01 
GeneralRe: Connecting to a c# Local Database Pin
Mark Salsbery4-Oct-08 7:42
Mark Salsbery4-Oct-08 7:42 
GeneralRe: Connecting to a c# Local Database Pin
Malcolm Smart4-Oct-08 7:45
Malcolm Smart4-Oct-08 7:45 
GeneralRe: Connecting to a c# Local Database Pin
Alex Grose4-Oct-08 8:58
Alex Grose4-Oct-08 8:58 
GeneralRe: Connecting to a c# Local Database Pin
Paul Conrad4-Oct-08 15:34
professionalPaul Conrad4-Oct-08 15:34 
AnswerRe: Connecting to a c# Local Database Pin
funklet4-Oct-08 8:49
funklet4-Oct-08 8:49 
AnswerRe: Connecting to a c# Local Database Pin
jzonthemtn5-Oct-08 3:42
jzonthemtn5-Oct-08 3:42 
QuestionFail to set port using SetMulticastGroup() of IMulticastConfig to "MPEG-2 Multicast Receiver" filter Pin
Andy Rama4-Oct-08 1:18
Andy Rama4-Oct-08 1:18 
QuestionCreating a Pause Button....... Pin
Member 46731983-Oct-08 21:07
Member 46731983-Oct-08 21:07 
AnswerRe: Creating a Pause Button....... Pin
Jaime Olivares4-Oct-08 2:14
Jaime Olivares4-Oct-08 2:14 
GeneralRe: Creating a Pause Button....... Pin
Member 46731984-Oct-08 3:24
Member 46731984-Oct-08 3:24 
AnswerRe: Creating a Pause Button....... Pin
dybs4-Oct-08 12:09
dybs4-Oct-08 12:09 
QuestionHow to access stored procedure Pin
fancyfree833-Oct-08 20:39
fancyfree833-Oct-08 20:39 
AnswerRe: How to access stored procedure Pin
Wendelius3-Oct-08 21:33
mentorWendelius3-Oct-08 21:33 
AnswerRe: How to access stored procedure Pin
TALHAKOSEN4-Oct-08 3:40
TALHAKOSEN4-Oct-08 3:40 

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.