示例#1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            DataTable sampledt = new DataTable();

            string[][] sSource = { new string[] { "No", "1" }, new string[] { "No", "2" }, new string[] { "Name", "Kim Sook Hwan" } };
            sampledt = DtCls.ArrayToDataTable(sSource);

            originGrid.DataSource = sampledt;
        }
示例#2
0
        public Form1()
        {
            InitializeComponent();

            dtcls = new DtCls();
        }