Click here to Skip to main content
15,893,622 members
Home / Discussions / C#
   

C#

 
Questionip address conflict Pin
swethakk5-Feb-07 17:22
swethakk5-Feb-07 17:22 
Question.NET Pin
vasini5-Feb-07 17:03
vasini5-Feb-07 17:03 
AnswerRe: .NET Pin
Sandeep Akhare5-Feb-07 19:22
Sandeep Akhare5-Feb-07 19:22 
QuestionHelp in Use of media player in C# Asp.net web application Pin
EEmaan5-Feb-07 16:57
EEmaan5-Feb-07 16:57 
QuestionGenerics Pin
mehrdadc485-Feb-07 16:20
mehrdadc485-Feb-07 16:20 
AnswerRe: Generics Pin
Christian Graus5-Feb-07 17:31
protectorChristian Graus5-Feb-07 17:31 
Questionxml parsing help please Pin
snouto5-Feb-07 14:55
snouto5-Feb-07 14:55 
AnswerRe: xml parsing help please Pin
Sandeep Akhare5-Feb-07 18:56
Sandeep Akhare5-Feb-07 18:56 
Hi Do you need to upadte Xml or only have to read the xml ?
What is the size of xml if size is big then use xmlReader else you can use DOM object Google for xmlTextReader or reader
try
{
XmlTextReader reader = new XmlTextReader(strUrl);
while (reader.Read())
{
switch (reader.NodeType)
{
case XmlNodeType.Element:
Hashtable attributes = new Hashtable();
string strURI= reader.NamespaceURI;
string strName= reader.Name;
if (reader.HasAttributes)
{
for (int i = 0; i < reader.AttributeCount; i++)
{
reader.MoveToAttribute(i);
attributes.Add(reader.Name,reader.Value);
}
}
StartElement(strURI,strName,strName,attributes);
break;
//
//you can handle other cases here
//

//case XmlNodeType.EndElement:
// Todo
//case XmlNodeType.Text:
// Todo
default:
break;
}
}
catch (XmlException e)
{
Console.WriteLine("error occured: " + e.Message);
}
QuestionOpening documents on program startup Pin
TheBirdman995-Feb-07 13:10
TheBirdman995-Feb-07 13:10 
AnswerRe: Opening documents on program startup Pin
Christian Graus5-Feb-07 13:12
protectorChristian Graus5-Feb-07 13:12 
GeneralRe: Opening documents on program startup [modified] Pin
TheBirdman995-Feb-07 13:15
TheBirdman995-Feb-07 13:15 
GeneralRe: Opening documents on program startup Pin
Christian Graus5-Feb-07 13:51
protectorChristian Graus5-Feb-07 13:51 
GeneralRe: Opening documents on program startup [modified] Pin
TheBirdman995-Feb-07 13:56
TheBirdman995-Feb-07 13:56 
GeneralRe: Opening documents on program startup Pin
Christian Graus5-Feb-07 14:02
protectorChristian Graus5-Feb-07 14:02 
GeneralRe: Opening documents on program startup Pin
TheBirdman995-Feb-07 14:14
TheBirdman995-Feb-07 14:14 
GeneralRe: Opening documents on program startup Pin
Luc Pattyn5-Feb-07 14:32
sitebuilderLuc Pattyn5-Feb-07 14:32 
GeneralRe: Opening documents on program startup Pin
TheBirdman995-Feb-07 14:40
TheBirdman995-Feb-07 14:40 
GeneralRe: Opening documents on program startup Pin
TheBirdman995-Feb-07 14:49
TheBirdman995-Feb-07 14:49 
GeneralRe: Opening documents on program startup Pin
Luc Pattyn5-Feb-07 14:51
sitebuilderLuc Pattyn5-Feb-07 14:51 
GeneralRe: Opening documents on program startup Pin
Luc Pattyn5-Feb-07 14:49
sitebuilderLuc Pattyn5-Feb-07 14:49 
GeneralRe: Opening documents on program startup Pin
TheBirdman995-Feb-07 14:52
TheBirdman995-Feb-07 14:52 
GeneralRe: Opening documents on program startup Pin
Luc Pattyn5-Feb-07 14:59
sitebuilderLuc Pattyn5-Feb-07 14:59 
GeneralRe: Opening documents on program startup Pin
TheBirdman995-Feb-07 15:17
TheBirdman995-Feb-07 15:17 
Questionhow do i view .dll files Pin
helpfulguy5-Feb-07 11:52
helpfulguy5-Feb-07 11:52 
AnswerRe: how do i view .dll files Pin
Colin Angus Mackay5-Feb-07 11:57
Colin Angus Mackay5-Feb-07 11:57 

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.