Exemple #1
0
 public void Initialize(SqlConnection Conn)
 {
     objUnitDL         = new Unit_DL(Conn);
     objMaterialTypeDL = new MaterialType_DL(Conn);
     objFormDL         = new Form_DL(Conn);
     objMaterialDL     = new Material_DL(Conn);
     objMatCatDL       = new MaterialCategory_DL(Conn);
 }
Exemple #2
0
 public void Load(SqlConnection Conn)
 {
     objMatCatDL           = new MaterialCategory_DL(Conn);
     gvCategory.DataSource = objMatCatDL.GetDataView();
 }