Home » Developer & Programmer » JDeveloper, Java & XML » XML code to query databse
XML code to query databse [message #180234] Sat, 01 July 2006 01:46 Go to next message
Anisasama
Messages: 17
Registered: June 2006
Location: karachi, Pakistan
Junior Member

hi, i have following query in C# code to query reomte database of sybase.I don't know the XML please tell me what is meaning of following code.
Private string sXmlIn;
sXmlIn=objConstant.sInquirySchemaSingleProp;
sXmlIn=sXmlIn.Replace("[TRAN_INFO]",objConstant.sTranInfoProp);
sXmlIn=sXmlIn.Replace("[TRAN_ACCT1]",objConstant.sAccountInfoProp);
sXmlIn=sXmlIn.Replace("!AcctNo",strAcctNumber);
sXmlIn=sXmlIn.Replace("!AcctType",strAcctType);
sXmlIn=sXmlIn.Replace("[OUTPUTTYPEID]","");
sXmlIn=sXmlIn.Replace("!XapiCode","13300");
sXmlIn=sXmlIn.Replace("!Ref","0");


Re: XML code to query databse [message #180380 is a reply to message #180234] Mon, 03 July 2006 05:49 Go to previous message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
C# is not quite Oracle related but I believe the "Replace" will.. euh... replace string1 with string2 in the example below:
sXmlIn=sXmlIn.Replace(string1,string2);


MHE
Previous Topic: Group Rows up in blocks
Next Topic: XML parsing..plz help
Goto Forum:
  


Current Time: Thu Nov 28 16:21:08 CST 2024