Ejemplo n.º 1
0
 public static void Main()
 {
     Items items = new Items();
     Console.WriteLine("Category(2)�Ō���");
     foreach(DataRow r in items.getItemTableByCategory(2).Rows)
     {
       Console.WriteLine(r["name"]);
     }
     Console.WriteLine("Vender(-236333830)�Ō���");
     foreach(DataRow r in items.getItemTableByVender(-236333830).Rows)
     {
       Console.WriteLine(r["name"]);
     }
     Hashtable hash = items.getItem(60).hash;
     foreach(string key in hash.Keys)
     {
     Console.WriteLine("{0}:{1}", key, hash[key]);
     }
 }
Ejemplo n.º 2
0
 public static void Main()
 {
     Items items = new Items();
     int idx = 1;
     Console.WriteLine(">>> Category(2)で検索");
     foreach(System.Data.DataRow r in items.getItemTableByCategory("矯正").Rows)
     {
       Console.WriteLine("[{0}] {1} {2}", idx, r["商品名"], r["id"]);
       idx++;
     }
     idx = 1;
     Console.WriteLine(">>> Vender(-236333830)で検索");
     foreach(System.Data.DataRow r in items.getItemTableByVender(2058309239).Rows)
     {
       Console.WriteLine("[{0}] {1} {2}", idx, r["商品名"], r["id"]);
       idx++;
     }
     Hashtable hash = items.getItem(925243300).hash;
     foreach(string key in hash.Keys)
     {
     Console.WriteLine("{0}:{1}", key, hash[key]);
     }
 }