• 不全


    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);

  • 相关阅读:
    地图的可视化--Folium
    GIS性能策略
    计算多边形中心线
    生成凹壳
    路径分析之NetworkX实例
    网络分析之networkx(转载)
    网络分析之Pgrouting(转载)
    颜色空间变换(RGB-HSV)
    计算坡度与坡向
    计算山体阴影
  • 原文地址:https://www.cnblogs.com/wfy680/p/12008256.html
Copyright © 2020-2023  润新知