سلام بر برنامه نویسان عزیز ایران زمین 😉 در این مطلب از وب سایت پروگرم 98 کد افزودن پس از اولین Child در XmlDocument با XmlNode و InsertAfter در سی شارپ #C را آماده کردم. انشاالله که این کد براتون مفید باشه.
کد افزودن پس از اولین Child در XmlDocument با XmlNode و InsertAfter در سی شارپ #C :
using System;
using System.Xml;
class MainClass
{
static void Main(string[] args)
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(@"c:\\Sample.xml");
using System.Xml;
class MainClass
{
static void Main(string[] args)
{
XmlDocument xmlDoc = new XmlDocument();
xmlDoc.Load(@"c:\\Sample.xml");