title image


Smiley Re: public static
entscheident ist, daß das DataSet von allen Klassen des Projekts erreichbar ist.





class clDataset

{

public static System.Data.DataSet dataSet1 = new DataSet();



public clDataset(){}



}





private void Form1_Load(object sender, EventArgs e)

{

clDataset.dataset1.DataSetName = "NewDataSet";

clDataset.dataset1.Locale = new System.Globalization.CultureInfo("de-DE");

clDataset.dataset1.Tables.AddRange(new System.Data.DataTable[] {

this.dataTable4});

//

// dataTable1

//

this.dataTable1.Columns.AddRange(new System.Data.DataColumn[] {

this.dataColumn1,

this.dataColumn2,

this.dataColumn3,

this.dataColumn4,

this.dataColumn5,

this.dataColumn6,

this.dataColumn7,

this.dataColumn8,

this.dataColumn9,

this.dataColumn10,

this.dataColumn11,

this.dataColumn12,

this.dataColumn13,

this.dataColumn15,

this.dataColumn16});

this.dataTable1.TableName = "all_apl";

//

// dataColumn1

//

this.dataColumn1.Caption = "process_group";

this.dataColumn1.ColumnName = "P Group";

//

// dataColumn2

//

this.dataColumn2.ColumnName = "Basic Type";

//

// dataColumn3

//

this.dataColumn3.ColumnName = "Shrink";

//

// dataColumn4

//

this.dataColumn4.ColumnName = "Route";



}

geschrieben von

Login

E-Mail:
  

Passwort:
  

Beitrag anfügen

Symbol:
 
 
 
 
 
 
 
 
 
 
 
 
 

Überschrift: