datasetform.cs

来自「Microsoft Mobile Development Handbook的代码」· CS 代码 · 共 35 行

CS
35
字号
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace MobileDevelopersHandbook
{
    public partial class DataSetForm : Form
    {
        public DataSetForm()
        {
            InitializeComponent();
        }

        private void DataSetForm_Load(object sender, EventArgs e)
        {
            if (ProductsDataSetUtil.DesignerUtil.IsRunTime())
            {
                // TODO: Delete this line of code to remove the default AutoFill for 'productsDataSet.Product'.
                this.productTableAdapter.Fill(this.productsDataSet.Product);
            }
            if (ProductsDataSetUtil.DesignerUtil.IsRunTime())
            {
                // TODO: Delete this line of code to remove the default AutoFill for 'productsDataSet.ProductCategory'.
                this.productCategoryTableAdapter.Fill(this.productsDataSet.ProductCategory);
            }

        }


    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?