示例#1
0
        public frm_Debug(U_Zwd.U_Dt_Zwd pdst, string s)
        {
            //
            // Windows 窗体设计器支持所必需的
            //
            InitializeComponent();

            dt = pdst.Tables[0];
            this.Text = s;
        }
示例#2
0
        public U_Dt_Zwd(string strSQL, U_Zwd.U_Db_Zwd pudb)
        {
            udb = pudb;
            udb.Connect();

            dta = new System.Data.SqlClient.SqlDataAdapter(strSQL, udb.Connection);
            cmd = new System.Data.SqlClient.SqlCommandBuilder(dta);

            dst = new System.Data.DataSet();
            dta.Fill(dst);
            dt = dst.Tables[0];

            dstDeleted = new System.Data.DataSet();
            dta.Fill(dstDeleted);
            dtDeleted = dstDeleted.Tables[0];

            udb.DisConnect();
        }