Ejemplo n.º 1
0
 public Jobtitle()
     : base()
 {
     TableName = "JOB_TITLE";
     Name = "";
     Dep = new Department();
     cmd.Parameters.Add("@ID", FbDbType.Char, 38, "ID");
     cmd.Parameters.Add("@CODE", FbDbType.Integer, 50, "CODE");
     cmd.Parameters.Add("@NAME", FbDbType.VarChar, 50, "NAME");
     cmd.Parameters.Add("@SALLARY", FbDbType.Decimal, 15, "SALLARY");
     cmd.Parameters.Add("@DOLLAR_PER_HOUR", FbDbType.Decimal, 15, "DOLLAR_PER_HOUR");
     cmd.Parameters.Add("@DEP_ID", FbDbType.Char, 38, "DEP_ID");
 }
 private void bsDep_CurrentChanged(object sender, EventArgs e)
 {
     dep = (bsDep.Current as Department);
     Binding();
 }