public ShowCharges(int ChargeID) { _showCharges = new Fpp.WebModules.Data.ShowCharges(_moduleSettings); DataSet ds = _showCharges.getChargesFor(ChargeID); if (ds.Tables[0].Rows.Count > 0) { LoadRow(ds.Tables[0].Rows[0]); } }
public ShowClasses(DataRow row) : base() { _showClasses= new Fpp.WebModules.Data.ShowCharges(_moduleSettings); try { LoadFromRow(row); } catch (Exception e) { AppException.LogEvent("ShowDetails.ShowDetails:" + e.Message); } }
public ShowClasses(int id) : base() { _showClasses = new Fpp.WebModules.Data.ShowCharges(_moduleSettings); _id = id; try { LoadFromRow(_showClasses.GetClass(_id).Tables[0].Rows[0]); } catch (Exception e) { Fpp.WebModules.AppException.LogEvent("ShowClasses: " + id.ToString() + "-" + e.Message); } }
public ShowClasses() : base() { _showClasses = new Fpp.WebModules.Data.ShowCharges(_moduleSettings); }