Click here to Skip to main content
15,898,851 members
Home / Discussions / C#
   

C#

 
QuestionHelp about List box VScroll Pin
crazymubashir14-Apr-06 22:19
crazymubashir14-Apr-06 22:19 
AnswerRe: Help about List box VScroll Pin
Ravi Bhavnani15-Apr-06 8:25
professionalRavi Bhavnani15-Apr-06 8:25 
GeneralRe: Help about List box VScroll Pin
crazymubashir16-Apr-06 20:59
crazymubashir16-Apr-06 20:59 
GeneralRe: Help about List box VScroll Pin
Ravi Bhavnani16-Apr-06 21:03
professionalRavi Bhavnani16-Apr-06 21:03 
GeneralRe: Help about List box VScroll Pin
crazymubashir16-Apr-06 21:04
crazymubashir16-Apr-06 21:04 
QuestionXML file reading Pin
rahultaing14-Apr-06 22:15
rahultaing14-Apr-06 22:15 
AnswerRe: XML file reading Pin
Guffa14-Apr-06 22:33
Guffa14-Apr-06 22:33 
AnswerRe: XML file reading Pin
rizwan.afsar14-Apr-06 22:58
rizwan.afsar14-Apr-06 22:58 
sample to read all the nodes of XML file


string[] sb=new string[4]{"","","",""};
XmlDocument doc = CreateDoc(XmlFile);
XmlNode root = doc.SelectSingleNode("FormatModule/Leads/Contents");
XmlNode root1;
string fieldname;
foreach(XmlNode node in root.ChildNodes)
{
if(root.NodeType != XmlNodeType.Comment)
{
string str=node.Name;
switch(str)
{
case "Body1":
root1=doc.SelectSingleNode("FormatModule/Leads/Contents/Body1");

foreach(XmlNode n in root1.ChildNodes)
{
if(n.NodeType != XmlNodeType.Comment)
{
XmlAttribute name = n.Attributes["type"];

if(name.InnerText=="text")
{
sb[0]+=n.InnerText.ToString()+"\n\n"+" ";

}
if(name.InnerText=="Field")
{
fieldname=n.Attributes["FieldName"].InnerText.Trim();
sb[0]+=DataLeads(id,fieldname);

}

}
}
break;
return sb;
}


Hope u might be knowing how to creaate XML file



Rizwan Afsar
Associate Member, Technical Team
IAP Company Ltd, Gurgaon
INDIA
www.iap-online.com

AnswerRe: XML file reading Pin
VaibhavJ15-Apr-06 1:21
VaibhavJ15-Apr-06 1:21 
QuestionAlgorithms List of IIS Pin
hung_ngole14-Apr-06 21:42
hung_ngole14-Apr-06 21:42 
QuestionReleasing a file Pin
Yevgeny Efter14-Apr-06 21:26
Yevgeny Efter14-Apr-06 21:26 
AnswerRe: Releasing a file Pin
Dave Kreskowiak15-Apr-06 6:57
mveDave Kreskowiak15-Apr-06 6:57 
AnswerRe: Releasing a file Pin
Judah Gabriel Himango15-Apr-06 16:41
sponsorJudah Gabriel Himango15-Apr-06 16:41 
QuestionBase64 Encoded Xml File Pin
rahultaing14-Apr-06 21:21
rahultaing14-Apr-06 21:21 
QuestionGeneric.List Pin
GreenApple3014-Apr-06 20:50
GreenApple3014-Apr-06 20:50 
AnswerRe: Generic.List Pin
Judah Gabriel Himango15-Apr-06 16:44
sponsorJudah Gabriel Himango15-Apr-06 16:44 
AnswerRe: Generic.List Pin
Graham Nimbley16-Apr-06 14:48
Graham Nimbley16-Apr-06 14:48 
QuestionConverting Date from Email Header to C# DateTime Pin
emran83414-Apr-06 19:49
emran83414-Apr-06 19:49 
AnswerRe: Converting Date from Email Header to C# DateTime Pin
Ravi Bhavnani15-Apr-06 8:04
professionalRavi Bhavnani15-Apr-06 8:04 
GeneralRe: Converting Date from Email Header to C# DateTime Pin
emran83416-Apr-06 8:39
emran83416-Apr-06 8:39 
GeneralRe: Converting Date from Email Header to C# DateTime Pin
Ravi Bhavnani16-Apr-06 8:45
professionalRavi Bhavnani16-Apr-06 8:45 
QuestionListView Items Display Pin
rahultaing14-Apr-06 19:12
rahultaing14-Apr-06 19:12 
AnswerRe: ListView Items Display Pin
Ravi Bhavnani14-Apr-06 19:36
professionalRavi Bhavnani14-Apr-06 19:36 
QuestionController for IIS Pin
hung_ngole14-Apr-06 18:44
hung_ngole14-Apr-06 18:44 
QuestionHowto Reuse Embeded Resource ? Pin
zolfaghari14-Apr-06 17:12
zolfaghari14-Apr-06 17:12 

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.