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

C#

 
GeneralRe: how can i send file name to desktop application Pin
Michael Bookatz28-Jan-09 0:52
Michael Bookatz28-Jan-09 0:52 
QuestionLoading vjslib dynamically Pin
Gareth H27-Jan-09 22:49
Gareth H27-Jan-09 22:49 
AnswerRe: Loading vjslib dynamically Pin
Karmendra Suthar27-Jan-09 23:34
Karmendra Suthar27-Jan-09 23:34 
GeneralRe: Loading vjslib dynamically Pin
Gareth H28-Jan-09 0:46
Gareth H28-Jan-09 0:46 
Question[Message Deleted] Pin
arkiboys27-Jan-09 22:29
arkiboys27-Jan-09 22:29 
AnswerRe: read xml contents Pin
N a v a n e e t h27-Jan-09 23:15
N a v a n e e t h27-Jan-09 23:15 
GeneralRe: read xml contents Pin
arkiboys27-Jan-09 23:46
arkiboys27-Jan-09 23:46 
AnswerRe: read xml contents Pin
Karmendra Suthar27-Jan-09 23:23
Karmendra Suthar27-Jan-09 23:23 
Get a XmlElement and SelectSingleNode of that, instead of the XmlDocument. I am not sure why it is returning SECOND, I am beginner, I had this information thought of sharing, might help you, Let me know if it do help.

XmlDocument doc = new XmlDocument();
doc.Load(strFullPath);

XmlElement root = doc.DocumentElement;

XmlNode bNode = root.SelectSingleNode("BIBLE");

string strBibleClientID = doc.DocumentElement.GetAttribute("CLIENT_ID");
string strBibleMatterID = doc.DocumentElement.GetAttribute("MATTER_ID");
string strBibleDocNumber = doc.DocumentElement.GetAttribute("DOCNUMBER");

for (int i = 0; i < bNode.ChildNodes.Count; i++)
{
XmlNode bibleNode = bNode.ChildNodes[i];

//number of elements per Bible...
int intElements = bibleNode.ChildNodes.Count;

//Go through the BIBLE node...
for (int x = 0; x < intElements; x++)
{
//pull out each element...
string strElement = bibleNode.ChildNodes[x].Name.ToString();

if (strElement.ToLower().Trim() == "doc")
{
string strDocClientID = bibleNode.ChildNodes[x].Attributes["CLIENT_ID"].Value;
string strDocMatterID = bibleNode.ChildNodes[x].Attributes["MATTER_ID"].Value;
string strDocNumber = bibleNode.ChildNodes[x].Attributes["DOCNUMBER"].Value;
string strDocName = bibleNode.ChildNodes[x].Attributes["DOCNAME"].Value;


} 
}
}

QuestionC# .NET Control Transparency Problem Pin
Hristiyan27-Jan-09 21:43
Hristiyan27-Jan-09 21:43 
AnswerRe: C# .NET Control Transparency Problem Pin
Phil J Pearson28-Jan-09 3:59
Phil J Pearson28-Jan-09 3:59 
Questionget subreport of .rdl report Pin
bhaumikdv27-Jan-09 21:41
bhaumikdv27-Jan-09 21:41 
QuestionOracle/MySQL - byte[] and varbinary? Pin
devvvy27-Jan-09 21:39
devvvy27-Jan-09 21:39 
AnswerRe: Oracle/MySQL - byte[] and varbinary? Pin
Wendelius27-Jan-09 22:40
mentorWendelius27-Jan-09 22:40 
QuestionProgrammatic saving of an existing excel file Pin
Nikhil Wason27-Jan-09 21:06
Nikhil Wason27-Jan-09 21:06 
AnswerRe: Programmatic saving of an existing excel file Pin
MadArtSoft27-Jan-09 23:53
MadArtSoft27-Jan-09 23:53 
GeneralRe: Programmatic saving of an existing excel file Pin
Nikhil Wason28-Jan-09 0:14
Nikhil Wason28-Jan-09 0:14 
QuestionI want to get row index of datagridview Pin
M Riaz Bashir27-Jan-09 19:50
M Riaz Bashir27-Jan-09 19:50 
AnswerRe: I want to get row index of datagridview Pin
Wendelius27-Jan-09 20:38
mentorWendelius27-Jan-09 20:38 
AnswerRe: I want to get row index of datagridview Pin
MadArtSoft27-Jan-09 23:55
MadArtSoft27-Jan-09 23:55 
AnswerRe: I want to get row index of datagridview Pin
Wael Al Wirr29-Jan-09 2:09
Wael Al Wirr29-Jan-09 2:09 
QuestionHow can i Re-Draw UI control ? Pin
Yanshof27-Jan-09 18:52
Yanshof27-Jan-09 18:52 
AnswerRe: How can i Re-Draw UI control ? Pin
N a v a n e e t h27-Jan-09 19:00
N a v a n e e t h27-Jan-09 19:00 
AnswerRe: How can i Re-Draw UI control ? Pin
DaveyM6927-Jan-09 21:57
professionalDaveyM6927-Jan-09 21:57 
QuestionNetwork Programming Pin
M. J. Jaya Chitra27-Jan-09 16:49
M. J. Jaya Chitra27-Jan-09 16:49 
AnswerRe: Network Programming Pin
N a v a n e e t h27-Jan-09 18:28
N a v a n e e t h27-Jan-09 18:28 

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.