public static DataPackage GetRealtimeData(string Code) { DataTable table1 = StockDB.GetRealtimeList(false); DataRow row1 = table1.Rows.Find(Code); return(StockDB.GetRealtimeData(row1)); }