public override MTable getRecords(string[] Sectors, DateTime dt) { if (gbc == null) { return(null); } gbc.tradeDate = dt; WSSClass wsetobj; wsetobj = new WSSClass(w, string.Join(",", Sectors), gbc.GuidName, string.Format(strParamsStyle, dt.ToShortDateString().Replace("-", ""), gbc.strParam, gbc.priceAdj.ToString().Substring(0, 1), gbc.cycle.ToString().Substring(0, 1))); return(WDDataAdapter.getTable(wsetobj.getDataSet(), gbc.GuidName, typeof(decimal))); }
public DataTable getRecords(string[] Sectors, DateTime dt) { if (gbc == null) { return(null); } gbc.tradeDate = dt; WSSClass wsetobj; wsetobj = new WSSClass(string.Join(",", Sectors), gbc.GuidName, gbc.strParam); return(WDDataAdapter.getRecords(wsetobj.getDataSet())); }