zoukankan      html  css  js  c++  java
  • 不全

    dsTLocation定义:

    publicpartialclassdsTLocation : global::System.Data.DataSet

    {

    …………………………….

    }

     

    tLocationBindingSource定义:

    private System.Windows.Forms.BindingSource tLocationBindingSource

    this.tLocationBindingSource = new System.Windows.Forms.BindingSource(this.components);

    this.tLocationBindingSource.DataMember = "T_Location";       // DataSet中的表

    this.tLocationBindingSource.DataSource = this.dsTLocation;   //DataSet

     

    DataGridView对象选择的数据源tLocationBindingSource

    this.dataGridView1.DataSource = this.tLocationBindingSource;

     

    LocationTableAdapter定义:

    publicpartialclassT_LocationTableAdapter : global::System.ComponentModel.Component {

            privateglobal::System.Data.SqlClient.SqlDataAdapter _adapter;

            privateglobal::System.Data.SqlClient.SqlConnection _connection;

            privateglobal::System.Data.SqlClient.SqlTransaction _transaction;

            privateglobal::System.Data.SqlClient.SqlCommand[] _commandCollection;

     

     

    this.t_LocationTableAdapter.Fill(this.dsTLocation.T_Location);

    this.t_LocationTableAdapter.Update(this.dsTLocation);

  • 相关阅读:
    3553: [Shoi2014]三叉神经树(树链剖分)
    Hive学习笔记(三)-- DML和DDL操作
    Hive学习笔记(二)
    Hive学习笔记(一)
    Hive安装步骤
    【Netty】NIO框架Netty入门
    【Netty】Netty入门之WebSocket小例子
    记录一次面试
    线程池面试
    反射面试
  • 原文地址:https://www.cnblogs.com/wfy680/p/12008256.html
Copyright © 2011-2022 走看看