{"version":"1.0","blog_title":"\u65e5\u3005\u7cbe\u9032","author_name":"anton0825","provider_name":"Hatena Blog","title":"DataSet\u3067\u30e1\u30e2\u30ea\u30ea\u30fc\u30af","url":"https://anton0825.hatenablog.com/entry/20110131/1296708900","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fanton0825.hatenablog.com%2Fentry%2F20110131%2F1296708900\" title=\"DataSet\u3067\u30e1\u30e2\u30ea\u30ea\u30fc\u30af - \u65e5\u3005\u7cbe\u9032\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","categories":["IT"],"blog_url":"https://anton0825.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/anton0825/","width":"100%","image_url":null,"height":"190","published":"2011-01-31 13:55:00","description":"\u4e0b\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3067\u5909\u6570ds\u304c\u4fdd\u6301\u3057\u3066\u3044\u308bDataSet\u306e\u30e1\u30e2\u30ea\u304c\u89e3\u653e\u3055\u308c\u306a\u3044\u3068\u3044\u3044\u3046\u554f\u984c\u304c\u8d77\u304d\u307e\u3057\u305f\u3002 for (int i = 0; i <= n; i++) { TestDataSet ds = this.GetFromDB(i); foreach (TestDataSet.DataRow row in ds.DataTable) { this.Calc(row.id, row.amount); } ds.Dispose(); ds = null; System.GC.Collect(); } Dispose\u3057\u3066\u308b\u3057\u3001null\u6e21\u3057\u3066\u53c2\u7167\u3092\u5207\u3063\u3066\u3042\u308b\u3057\u3001Calc\u95a2\u6570\u306b\u306f\u30d7\u30ea\u30df\u30c6\u30a3\u30d6\u578b\u3057\u304b\u6e21\u3057\u2026","provider_url":"https://hatena.blog"}