سلام بر تمامی برنامه نویسان سی شارپ 😉 در این مطلب کد خواندن Xml با استفاده از DataTable در سی شارپ #C را آماده کردم. انشاالله که این آموزش برای شما مفید باشد.
کد خواندن Xml با استفاده از DataTable در سی شارپ #C :
using System;
using System.Data;
using System.Collections.Generic;
using System.Text;
class Program
{
static void Main(string[] args)
{
DataTable dt = new DataTable("Employees");
dt.ReadXml("Employees.xml");
using System.Data;
using System.Collections.Generic;
using System.Text;
class Program
{
static void Main(string[] args)
{
DataTable dt = new DataTable("Employees");
dt.ReadXml("Employees.xml");