打印本文 打印本文 关闭窗口 关闭窗口
第五课 使用断开数据--DataSet和SqlDataAdapter(翻译)
作者:武汉SEO闵涛  文章来源:敏韬网  点击数16132  更新时间:2007/11/14 13:12:43  文章录入:mintao  责任编辑:mintao
SqlCommandBuilder(daCustomers);

              

               // 4. fill the dataset

               daCustomers.Fill(dsCustomers, TableName);

        }

 

        // Update button was clicked

        public void btnUpdateClicked(object sender, EventArgs e)

        {

               // write changes back to DataBase

               daCustomers.Update(dsCustomers, TableName);

        }

 

        // start the Windows Form

        static void Main()

        {

 << 上一页  [11] [12] [13] [14] [15] [16] [17] [18]  下一页

打印本文 打印本文 关闭窗口 关闭窗口