form2.cs

来自「这是关于数据库中绑定到datagridwiew中的数据库技术」· CS 代码 · 共 26 行

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

namespace 传感器数据库部分
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            // TODO: 这行代码将数据加载到表“传感器数据库DataSet.传感器数据总表”中。您可以根据需要移动或移除它。
            this.传感器数据总表TableAdapter.Fill(this.传感器数据库DataSet.传感器数据总表);

            this.reportViewer1.RefreshReport();
        }
    }
}

⌨️ 快捷键说明

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