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

C#

 
GeneralRe: Seeing who is logged on a server remotely? Pin
led mike9-Jan-08 10:23
led mike9-Jan-08 10:23 
GeneralKeydown not firing Pin
netJP12L9-Jan-08 7:07
netJP12L9-Jan-08 7:07 
GeneralRe: Keydown not firing Pin
Dave Kreskowiak9-Jan-08 7:30
mveDave Kreskowiak9-Jan-08 7:30 
GeneralRe: Keydown not firing Pin
netJP12L9-Jan-08 7:34
netJP12L9-Jan-08 7:34 
GeneralRe: Keydown not firing Pin
Dave Kreskowiak9-Jan-08 7:49
mveDave Kreskowiak9-Jan-08 7:49 
GeneralRe: Keydown not firing Pin
Jörgen Sigvardsson9-Jan-08 7:53
Jörgen Sigvardsson9-Jan-08 7:53 
GeneralRe: Keydown not firing Pin
Dave Kreskowiak9-Jan-08 9:05
mveDave Kreskowiak9-Jan-08 9:05 
GeneralLoading a DataTable with XPath'd XML Pin
Marc Clifton9-Jan-08 6:43
mvaMarc Clifton9-Jan-08 6:43 
Is there a simpler way to load a DataTable from XML where I need to qualify the XML with an XPath? Currently, I have:

DataTable dt=new DataTable();
XmlNodeList nodeList=xdoc.SelectNodes(rootName+"/"+path);
if (nodeList.Count != 0)
{
	CreateColumns(dt, nodeList[0]);
}
foreach(XmlNode node in nodeList)
{
	DataRow dr=dt.NewRow();
	foreach(XmlAttribute attr in node.Attributes)
	{
		dr[attr.Name]=attr.Value;
	}
	dt.Rows.Add(dr);
}


Is that the best way to do this?

Marc


GeneralRe: Loading a DataTable with XPath'd XML Pin
led mike9-Jan-08 7:03
led mike9-Jan-08 7:03 
GeneralRe: Loading a DataTable with XPath'd XML Pin
Marc Clifton9-Jan-08 7:05
mvaMarc Clifton9-Jan-08 7:05 
General[Message Deleted] Pin
NewToAspDotNet9-Jan-08 6:32
NewToAspDotNet9-Jan-08 6:32 
GeneralRe: Richtextbox and E-mail Pin
Luc Pattyn9-Jan-08 6:49
sitebuilderLuc Pattyn9-Jan-08 6:49 
GeneralTreeView Expand/Collapse animation Pin
Jamie Nordmeyer9-Jan-08 6:12
Jamie Nordmeyer9-Jan-08 6:12 
GeneralRe: TreeView Expand/Collapse animation Pin
led mike9-Jan-08 6:53
led mike9-Jan-08 6:53 
GeneralRe: TreeView Expand/Collapse animation Pin
Jamie Nordmeyer9-Jan-08 7:26
Jamie Nordmeyer9-Jan-08 7:26 
GeneralRe: TreeView Expand/Collapse animation Pin
led mike9-Jan-08 7:51
led mike9-Jan-08 7:51 
GeneralRe: TreeView Expand/Collapse animation Pin
Jamie Nordmeyer9-Jan-08 10:35
Jamie Nordmeyer9-Jan-08 10:35 
GeneralRe: TreeView Expand/Collapse animation Pin
Patrick Etc.9-Jan-08 13:02
Patrick Etc.9-Jan-08 13:02 
QuestionBeginning Programmer needs a little help Pin
Nekosohana9-Jan-08 6:04
Nekosohana9-Jan-08 6:04 
GeneralRe: Beginning Programmer needs a little help Pin
Luc Pattyn9-Jan-08 6:54
sitebuilderLuc Pattyn9-Jan-08 6:54 
GeneralRe: Beginning Programmer needs a little help Pin
Nekosohana9-Jan-08 6:58
Nekosohana9-Jan-08 6:58 
GeneralCom DLL file reference access ... Pin
Shahin779-Jan-08 5:37
Shahin779-Jan-08 5:37 
GeneralRe: Com DLL file reference access ... Pin
Dave Kreskowiak9-Jan-08 7:16
mveDave Kreskowiak9-Jan-08 7:16 
GeneralRe: Com DLL file reference access ... Pin
Shahin779-Jan-08 7:27
Shahin779-Jan-08 7:27 
GeneralRe: Com DLL file reference access ... Pin
Dave Kreskowiak9-Jan-08 7:48
mveDave Kreskowiak9-Jan-08 7:48 

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.