Quản lý nhân sự công ty bằng c# _ full source code
60.739 lượt xem;
- clsDMDanToc.cs
- Class /
- QuanLyNhanSu /
- project /
1 using System;
2 using System.Collections.Generic;
3 using System.Text;
4 using System.Windows.Forms;
5 using System.Data.SqlClient;
6 using System.Collections;
7 using System.Data;
8 using QuanLyNhanSu.Class;
9 namespace QuanLyNhanSu
10 {
11 public class clsDMDanToc :clsdm
12 {
13 public DataSet taocombo()
14 {
15 clsDMDanToc c = new clsDMDanToc();
16 c.sc.Open();
17 string sql1 = "Select * from tbl_DMDanToc";
18 SqlCommand scmd = new SqlCommand(sql1, c.sc);
19 c.sda.SelectCommand = scmd;
20 c.sda.Fill(c.ds, "DMDanToc");
21 c.sc.Close();
22 c.ds.WriteXmlSchema("rptdantoc.xml");
23 return c.ds;
24 }
25
26 }
27 }
2 using System.Collections.Generic;
3 using System.Text;
4 using System.Windows.Forms;
5 using System.Data.SqlClient;
6 using System.Collections;
7 using System.Data;
8 using QuanLyNhanSu.Class;
9 namespace QuanLyNhanSu
10 {
11 public class clsDMDanToc :clsdm
12 {
13 public DataSet taocombo()
14 {
15 clsDMDanToc c = new clsDMDanToc();
16 c.sc.Open();
17 string sql1 = "Select * from tbl_DMDanToc";
18 SqlCommand scmd = new SqlCommand(sql1, c.sc);
19 c.sda.SelectCommand = scmd;
20 c.sda.Fill(c.ds, "DMDanToc");
21 c.sc.Close();
22 c.ds.WriteXmlSchema("rptdantoc.xml");
23 return c.ds;
24 }
25
26 }
27 }