using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DAL;
namespace WindowsFormsApplication1
{
public partial class 不重复的数据的表 : Form
{
DataTable LianXi1;
DataTable dt;
public 不重复的数据的表()
{
InitializeComponent();
string sgl = "select 字段1,字段2,字段3 from 表名";
//调用数据库查询的方法,这个获取数据库中的表方法需要自己写
LianXi1 = DAL_Table.GeSqlDataAdapter(sgl);
grd.DataSource = LianXi1;
dt = new DataTab