Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
QuestionProblem With TreeView Pin
pavanabollineni6-Apr-06 18:45
pavanabollineni6-Apr-06 18:45 
AnswerRe: Problem With TreeView Pin
sathish s6-Apr-06 19:33
sathish s6-Apr-06 19:33 
GeneralRe: Problem With TreeView Pin
pavanabollineni7-Apr-06 1:17
pavanabollineni7-Apr-06 1:17 
GeneralRe: Problem With TreeView Pin
sathish s7-Apr-06 1:36
sathish s7-Apr-06 1:36 
QuestionFileName with Directory.GetFiles Pin
Expert Coming6-Apr-06 17:56
Expert Coming6-Apr-06 17:56 
AnswerRe: FileName with Directory.GetFiles Pin
alexey N6-Apr-06 18:09
alexey N6-Apr-06 18:09 
AnswerRe: FileName with Directory.GetFiles Pin
Aaron Dilliard7-Apr-06 9:14
Aaron Dilliard7-Apr-06 9:14 
Questionhow to load xml file in c# Pin
ybasha6-Apr-06 17:53
ybasha6-Apr-06 17:53 
Hi there,

Iam newbie for c# i like to know how we can load an xml file and read the node inside the xml file earlier my application use to call another appl to get txt file and read the node inside the text file. now i want to pass the xml file instead of the appl so the following are the existing code pls advice how i can do it
Crosswalk_Holdings.Holdings ObjHoldings = new Crosswalk_Holdings.Holdings();
string strresponse ="";
string strMarctxt = "";
XmlNode ObjMarcTxtNode;
//by me 8/2/06
//strresponse = ObjHoldings.SendReceiveXML("http://203.78.8.89/scripts/vista/usmarc11.pl",strBIDNoForHoldings);
XmlDocument ObjXMLHoldings = new XmlDocument();
ObjMarcTxtNode = ObjXMLHoldings.SelectSingleNode("//USMARC/TXT");

if(ObjMarcTxtNode!=null)
{
if (ObjMarcTxtNode.InnerText.Trim()!="")
strMarctxt=Server.HtmlEncode(ObjMarcTxtNode.InnerText);
}
if (strMarctxt !="")
{
string tmpspace = "\n" + " ";
strMarctxt= strMarctxt.Replace(tmpspace, " ");
string strControlNo = ObjHoldings.ParseXML("008 |", strMarctxt).ToString();
if (strControlNo.Trim()!="")
strRecLanguage= strControlNo.Substring(35,3);
string strNativeDelimiter = " ";
//Native Identifier
//ISBN
string strNativeISBN = ObjHoldings.Parse880XML("|020-",strMarctxt).ToString();
//'ISSN
string strNativeISSN = ObjHoldings.Parse880XML("|022-",strMarctxt).ToString();
if (strNativeISBN.Trim()!="" || strNativeISSN.Trim()!="")
{
strNativeIdentifier = (strNativeISBN.Trim().Length>0?strNativeISBN + strNativeDelimiter:"") + strNativeISSN.Trim();
strNativeIdentifier = strNativeIdentifier.Replace("|","");
}

pls advice how i can pass the xml file instead of the url and get info or tag 020 and 022 from the xml file.
we have tag 020 and 022 in the xml file.pls advice Smile | :)
QuestionHow to save the text of listbox in hashtable? Pin
njcgf6-Apr-06 17:41
njcgf6-Apr-06 17:41 
AnswerRe: How to save the text of listbox in hashtable? Pin
scoroop6-Apr-06 21:58
scoroop6-Apr-06 21:58 
QuestionA question about Panel Pin
flyinglimy6-Apr-06 17:05
flyinglimy6-Apr-06 17:05 
QuestionInterface Implementation - Returning Inherited Class Pin
sebaaaa6-Apr-06 14:19
sebaaaa6-Apr-06 14:19 
AnswerRe: Interface Implementation - Returning Inherited Class Pin
Ferry Mulyono6-Apr-06 15:05
Ferry Mulyono6-Apr-06 15:05 
AnswerRe: Interface Implementation - Returning Inherited Class Pin
Robert Rohde7-Apr-06 2:10
Robert Rohde7-Apr-06 2:10 
QuestionScientific calculator in C# Pin
Ronald246-Apr-06 13:48
Ronald246-Apr-06 13:48 
QuestionPixelation in Scaled GIF images Pin
Citizen_RobertK6-Apr-06 13:24
Citizen_RobertK6-Apr-06 13:24 
QuestionHide web service details? Pin
Mark Tutt6-Apr-06 12:56
Mark Tutt6-Apr-06 12:56 
AnswerRe: Hide web service details? Pin
Ferry Mulyono6-Apr-06 15:13
Ferry Mulyono6-Apr-06 15:13 
GeneralRe: Hide web service details? Pin
Mark Tutt6-Apr-06 15:41
Mark Tutt6-Apr-06 15:41 
GeneralRe: Hide web service details? Pin
Ferry Mulyono6-Apr-06 16:01
Ferry Mulyono6-Apr-06 16:01 
GeneralRe: Hide web service details? Pin
Mark Tutt6-Apr-06 16:35
Mark Tutt6-Apr-06 16:35 
QuestionPass SerialPort variable to another class. Pin
shultas6-Apr-06 12:03
shultas6-Apr-06 12:03 
AnswerRe: Pass SerialPort variable to another class. Pin
Judah Gabriel Himango6-Apr-06 12:32
sponsorJudah Gabriel Himango6-Apr-06 12:32 
AnswerRe: Pass SerialPort variable to another class. Pin
Stefan Troschuetz6-Apr-06 12:35
Stefan Troschuetz6-Apr-06 12:35 
GeneralRe: Pass SerialPort variable to another class. Pin
shultas6-Apr-06 12:49
shultas6-Apr-06 12:49 

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.