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

        private DataGrid dgCustomers;

 

        private const string TableName = "Customers";

 

        // initialize form with DataGrid and Button

        public DisconnectedDataForm()

        {

               // fill dataset

               InitData();

 

               // set up datagrid

               dgCustomers = new DataGrid();

               dgCustomers.Location = new Point(5, 5);

               dgCustomers.Size = new Size(
                       this.ClientRectangle.Size.Width - 10,
                       this.ClientRectangle.Height - 50);

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

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