Click here to Skip to main content
15,917,059 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to avoid last event from execution when page is refreshed Pin
sathish s6-Apr-06 23:47
sathish s6-Apr-06 23:47 
QuestionHelp regarding DataGrid Pin
Taimoor Mirza6-Apr-06 19:51
Taimoor Mirza6-Apr-06 19:51 
AnswerRe: Help regarding DataGrid Pin
Maqsood Ahmed7-Apr-06 17:49
Maqsood Ahmed7-Apr-06 17:49 
Questionhow to start a programe when the system is logged in. Pin
Sunny H6-Apr-06 19:40
Sunny H6-Apr-06 19:40 
AnswerRe: how to start a programe when the system is logged in. Pin
alexey N6-Apr-06 19:47
alexey N6-Apr-06 19:47 
AnswerRe: how to start a programe when the system is logged in. Pin
junglerover776-Apr-06 19:56
junglerover776-Apr-06 19:56 
Questionpass more than one parameters to my stored procedure at a time Pin
Sunny H6-Apr-06 19:36
Sunny H6-Apr-06 19:36 
AnswerRe: pass more than one parameters to my stored procedure at a time Pin
junglerover776-Apr-06 20:06
junglerover776-Apr-06 20:06 
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 

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.