XmlDocument xdoc = new XmlDocument();
xdoc.Load(Server.MapPath("~/pp1.xml"));
string PersonCount = xdoc.DocumentElement.SelectNodes("//persons/person").Count.ToString();
Response.Write(PersonCount);
A blog about web application development mainly on backend side
Sunday, November 25, 2012
Subscribe to:
Posts (Atom)
What is DaemonSet in Kubernetes
A DaemonSet is a type of controller object that ensures that a specific pod runs on each node in the cluster. DaemonSets are useful for dep...
-
here is a t4 file. save it using .tt extension and change the connection accordingly and drag to visual studio solution.
-
Here is the code static byte [] GetBytes ( string str ) { byte [] bytes = new byte [ str . Length * sizeof ( char )]; ...
-
I have got a nice post here http://www.danielwmoore.com/extras/index.php?topic=7691.0