Click here to Skip to main content
15,900,447 members
Home / Discussions / C#
   

C#

 
GeneralSystem.Xml.XmlException: The root element is missing. Pin
mantissaPuc26-Feb-05 9:53
mantissaPuc26-Feb-05 9:53 
GeneralRe: System.Xml.XmlException: The root element is missing. Pin
Radgar26-Feb-05 16:59
Radgar26-Feb-05 16:59 
GeneralProblem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:14
Tugbay Sahin26-Feb-05 9:14 
GeneralRe: Problem with my DB.. Pin
Colin Angus Mackay26-Feb-05 9:20
Colin Angus Mackay26-Feb-05 9:20 
GeneralRe: Problem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:27
Tugbay Sahin26-Feb-05 9:27 
GeneralRe: Problem with my DB.. Pin
Colin Angus Mackay26-Feb-05 9:41
Colin Angus Mackay26-Feb-05 9:41 
GeneralRe: Problem with my DB.. Pin
Tugbay Sahin26-Feb-05 9:43
Tugbay Sahin26-Feb-05 9:43 
GeneralRe: Problem with my DB.. Pin
Rob Graham26-Feb-05 9:41
Rob Graham26-Feb-05 9:41 
As Colin pointed out, myConnection is declared in the method scope of th form1 constructor, so is only available within the constructor. Move the declaration outside of the constructor (i.e) public class Form1:...
{
private SqlConnection myConnection = null; //declared at class level scope

form1()
{
myConnection = new SqlConnection(...); //instantiated in constructor
...
}
...
}

Anger is the most impotent of passions. It effects nothing it goes about, and hurts the one who is possessed by it more than the one against whom it is directed.
Carl Sandburg

Generalescaping special characters... Pin
theJazzyBrain26-Feb-05 8:51
theJazzyBrain26-Feb-05 8:51 
GeneralRe: escaping special characters... Pin
leppie26-Feb-05 9:09
leppie26-Feb-05 9:09 
GeneralRe: escaping special characters... Pin
theJazzyBrain27-Feb-05 11:26
theJazzyBrain27-Feb-05 11:26 
GeneralRe: escaping special characters... Pin
Dave Kreskowiak26-Feb-05 9:37
mveDave Kreskowiak26-Feb-05 9:37 
GeneralRe: escaping special characters... Pin
theJazzyBrain27-Feb-05 1:37
theJazzyBrain27-Feb-05 1:37 
GeneralRe: escaping special characters... Pin
Dave Kreskowiak27-Feb-05 3:12
mveDave Kreskowiak27-Feb-05 3:12 
GeneralRe: escaping special characters... Pin
theJazzyBrain27-Feb-05 11:26
theJazzyBrain27-Feb-05 11:26 
GeneralLan Messenger in C# Pin
naq26-Feb-05 8:29
naq26-Feb-05 8:29 
GeneralRe: Lan Messenger in C# Pin
Dave Kreskowiak26-Feb-05 9:35
mveDave Kreskowiak26-Feb-05 9:35 
GeneralRe: Lan Messenger in C# Pin
qnzone27-Feb-05 8:20
qnzone27-Feb-05 8:20 
GeneralShared Ressource? between main and thread for keeping track of status Pin
Shaitan0026-Feb-05 8:20
Shaitan0026-Feb-05 8:20 
GeneralHTTP protocol violation problem Pin
Small Rat26-Feb-05 6:59
Small Rat26-Feb-05 6:59 
GeneralRe: HTTP protocol violation problem Pin
Radgar26-Feb-05 9:34
Radgar26-Feb-05 9:34 
QuestionHow to bypass proxy/firewall in .Net? Pin
Indian Ocean26-Feb-05 4:41
Indian Ocean26-Feb-05 4:41 
AnswerRe: How to bypass proxy/firewall in .Net? Pin
Colin Angus Mackay26-Feb-05 9:23
Colin Angus Mackay26-Feb-05 9:23 
GeneralPlease... Pin
KORCARI26-Feb-05 3:56
KORCARI26-Feb-05 3:56 
GeneralRe: Please... Pin
Dave Kreskowiak26-Feb-05 4:21
mveDave Kreskowiak26-Feb-05 4:21 

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.