Click here to Skip to main content
15,886,774 members
Home / Discussions / C#
   

C#

 
Questionhow to create tree nodes and save it as an xml Pin
Mamphekgo Bahula19-Sep-07 21:29
Mamphekgo Bahula19-Sep-07 21:29 
QuestionMultiple Windows Forms Programs Interacting? Pin
stephan.smolek19-Sep-07 21:06
stephan.smolek19-Sep-07 21:06 
AnswerRe: Multiple Windows Forms Programs Interacting? Pin
Dave Kreskowiak20-Sep-07 7:00
mveDave Kreskowiak20-Sep-07 7:00 
QuestionCapture the desktop of remote machine Pin
Anez.A19-Sep-07 20:46
Anez.A19-Sep-07 20:46 
AnswerRe: Capture the desktop of remote machine Pin
Dave Kreskowiak20-Sep-07 6:54
mveDave Kreskowiak20-Sep-07 6:54 
GeneralRe: Capture the desktop of remote machine Pin
Anez.A23-Sep-07 17:50
Anez.A23-Sep-07 17:50 
GeneralRe: Capture the desktop of remote machine Pin
Dave Kreskowiak24-Sep-07 1:29
mveDave Kreskowiak24-Sep-07 1:29 
QuestionTo read xml file Pin
P_Elza19-Sep-07 20:22
P_Elza19-Sep-07 20:22 
Hi all
I want to read a particular node of xml file. For that i am using the code
XmlTextReader reader = new XmlTextReader ("tx1.xml");
while (reader.Read ())
{
    if(reader.IsStartElement ())
    {	
	if (reader.NodeType == XmlNodeType.Element && reader.Name == "jid")
	{
	     str=reader.ReadString();
	     Lblmsg.Visible=true;
	     Lblmsg.Text="journal ID <"+ reader.Name+ "> is : "+str;
	     reader.Read();
             break;
	}
	break;
    }
}

but here the problem is it is trying to validate the xml file using the DTD. I dont want to validate it using dtd. Plz help to solve this. what i have to use here.Frown | :( Plz help me thank u
QuestionHash Table Problem Pin
Nishad8519-Sep-07 20:21
Nishad8519-Sep-07 20:21 
AnswerRe: Hash Table Problem Pin
pmarfleet19-Sep-07 20:36
pmarfleet19-Sep-07 20:36 
GeneralRe: Hash Table Problem Pin
pmarfleet19-Sep-07 20:58
pmarfleet19-Sep-07 20:58 
GeneralRe: Hash Table Problem Pin
lost in transition 20-Sep-07 11:30
lost in transition 20-Sep-07 11:30 
GeneralRe: Hash Table Problem Pin
pmarfleet20-Sep-07 21:14
pmarfleet20-Sep-07 21:14 
QuestionGenerating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 19:48
Charith Jayasundara19-Sep-07 19:48 
AnswerRe: Generating Excel reports by using .Net Pin
pmarfleet19-Sep-07 20:34
pmarfleet19-Sep-07 20:34 
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 20:43
Charith Jayasundara19-Sep-07 20:43 
GeneralRe: Generating Excel reports by using .Net Pin
pmarfleet19-Sep-07 20:56
pmarfleet19-Sep-07 20:56 
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 21:13
Charith Jayasundara19-Sep-07 21:13 
GeneralRe: Generating Excel reports by using .Net Pin
pmarfleet19-Sep-07 23:13
pmarfleet19-Sep-07 23:13 
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 23:36
Charith Jayasundara19-Sep-07 23:36 
GeneralRe: Generating Excel reports by using .Net Pin
pmarfleet20-Sep-07 1:48
pmarfleet20-Sep-07 1:48 
AnswerRe: Generating Excel reports by using .Net Pin
Urs Enzler19-Sep-07 22:04
Urs Enzler19-Sep-07 22:04 
GeneralRe: Generating Excel reports by using .Net Pin
Charith Jayasundara19-Sep-07 22:45
Charith Jayasundara19-Sep-07 22:45 
AnswerRe: Generating Excel reports by using .Net Pin
eoe19-Sep-07 22:17
eoe19-Sep-07 22:17 
QuestionHow to get now month? Pin
somsakchoto19-Sep-07 19:29
somsakchoto19-Sep-07 19:29 

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.