{"id":124,"date":"2014-07-02T02:09:50","date_gmt":"2014-07-01T18:09:50","guid":{"rendered":"http:\/\/the-takeo.expressweb.jp\/?p=124"},"modified":"2015-09-24T21:57:55","modified_gmt":"2015-09-24T12:57:55","slug":"dataview%e3%81%a7rowfilter%e3%82%92%e8%a8%ad%e5%ae%9a%e3%81%99%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ae%e6%b3%a8%e6%84%8f%e7%82%b9","status":"publish","type":"post","link":"http:\/\/the-takeo.com\/?p=124","title":{"rendered":"DataView\u3067RowFilter\u3092\u8a2d\u5b9a\u3059\u308b\u5834\u5408\u306e\u6ce8\u610f\u70b9"},"content":{"rendered":"<p>DataView\u306fDataTable\u3068\u4f3c\u305f\u3088\u3046\u306a\u30af\u30e9\u30b9\u3060\u304c\u3001<br \/>\n\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\u6642\u306b\u65e2\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8cbc\u3063\u3066\u304f\u308c\u3066\u3044\u305f\u308a\u3001<br \/>\n\u307e\u3041\u8272\u3093\u306a\u9055\u3044\u304c\u3042\u308b\uff08\u6295\u3052\u3084\u308a\uff09\u3002<\/p>\n<p>\u3067\u3001\u6700\u8fd1\u3044\u3058\u3063\u3066\u3044\u305f\u3042\u308b\u30b3\u30fc\u30c9\u304c\u3042\u308b\u3002<\/p>\n<pre lang=\"csharp\" line=\"1\">\r\npublic void SampleMethod(DataView dv)\r\n{\r\n    \/\/ (\u4e2d\u7565)\r\n    while(true)\r\n    {\r\n        dv.RowFilter = (\u30d5\u30a3\u30eb\u30bf\u5185\u5bb9);\r\n        \/\/ (dv\u3092\u4f7f\u3063\u305f\u5b9f\u884c\u5185\u5bb9)\r\n        if(\u6761\u4ef6\u5f0f)\r\n            break;\r\n        \/\/ (\u4e2d\u7565)\r\n    }\r\n}\r\n<\/pre>\n<p>DataView\u306bRowFilter\u3092\u8a2d\u5b9a\u3057\u3001\u305d\u306e\u5f8c\u306e\u51e6\u7406\u7d50\u679c\u306b\u3088\u3063\u3066\u307e\u305f\u540c\u3058\u64cd\u4f5c\u3092\u7e70\u308a\u8fd4\u3059\u3068\u3044\u3046\u3082\u306e\u3060\u3002<br \/>\n\uff08\u5b9f\u969b\u306e\u30b3\u30fc\u30c9\u4e0a\u306f\u7121\u9650\u30eb\u30fc\u30d7\u306b\u306a\u3089\u306a\u3044\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u5ff5\u306e\u305f\u3081\uff09<br \/>\n\u3053\u308c\u304c\u3084\u3051\u306b\u6642\u9593\u304c\u304b\u304b\u308b\u3002<br \/>\n\u539f\u56e0\u306fRowFilter\u304cRowFilter\u3092\u4f55\u5ea6\u3082\u884c\u3063\u305f\u3053\u3068\u3060\u3063\u305f\u3002<\/p>\n<p>\u306a\u305c\u306a\u3089\u7406\u7531\u306f\u5358\u7d14\u3067\u3001<strong>RowFilter\u304c\u5b9f\u884c\u3055\u308c\u305f\u5834\u5408\u3001DataView\u306f\u5185\u90e8\u7684\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8a2d\u5b9a\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u308b<\/strong>\u306e\u3060\u3002<br \/>\n\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u6bce\u56de\u5168\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u306b\u884c\u3063\u3066\u3044\u308b\u308f\u3051\u3067\u3001\u3053\u308c\u3067\u306f\u5927\u5909\u6642\u9593\u304c\u304b\u304b\u308b\u3002<\/p>\n<p>\u3067\u3001\u5e78\u3044\u300c\/\/ (dv\u3092\u4f7f\u3063\u305f\u5b9f\u884c\u5185\u5bb9)\u300d\u306e\u5185\u5bb9\u3092RowFilter\u3067\u306a\u304f\u3001FindRows\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u304c\u53ef\u80fd\u3060\u3063\u305f\u306e\u3067\u3001\u305d\u308c\u3067\u3072\u3068\u307e\u305a\u89e3\u6c7a\u3057\u305f\u3002<br \/>\n<strong>FindRows\u30e1\u30bd\u30c3\u30c9\u306f\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u518d\u8a2d\u5b9a\u3057\u306a\u3044\u306e\u3060\u3002<\/strong><br \/>\n\uff08\u53c2\u8003\uff1a<a href=\"http:\/\/msdn.microsoft.com\/ja-jp\/library\/bb669089(v=vs.110).aspx\" title=\"DataView \u306e\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\" target=\"_blank\">http:\/\/msdn.microsoft.com\/ja-jp\/library\/bb669089(v=vs.110).aspx<\/a>\uff09<\/p>\n<p>RowFilter\u3067\u9045\u304f\u306a\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u3092\u5168\u304f\u8003\u3048\u3066\u304a\u3089\u305a\u3001\u5206\u304b\u308b\u306e\u306b\u6642\u9593\u304c\u304b\u304b\u3063\u305f\u3002<br \/>\n\u3071\u3063\u3068\u898b\u3001\u30d7\u30ed\u30d1\u30c6\u30a3\u8a2d\u5b9a\u3057\u3066\u308b\u3060\u3051\u306b\u898b\u3048\u308b\u304b\u3089\u306d\u3001\u4ed5\u65b9\u306a\u3044\u306d\u3002<\/p>\n<p>\u30fb\u30fb\u30fb\u4fee\u6b63\u3057\u305f\u306f\u3044\u3044\u3051\u3069\u3001\u5272\u3068\u6761\u4ef6\u5206\u5c90\u304c\u8907\u96d1\u306a\u30e1\u30bd\u30c3\u30c9\u306a\u306e\u3067\u3001\u30c6\u30b9\u30c8\u306b\u6642\u9593\u304b\u304b\u308a\u305d\u3046\u3002<br \/>\n\uff08\u73fe\u306b\u5b9f\u88c5\u7d42\u308f\u3063\u305f\u5f8c\u306b\u30d0\u30b0\u3092\u6307\u6458\u3055\u308c\u307e\u304f\u3063\u305f\uff09<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DataView\u306fDataTable\u3068\u4f3c\u305f\u3088\u3046\u306a\u30af\u30e9\u30b9\u3060\u304c\u3001 \u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u751f\u6210\u6642\u306b\u65e2\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3092\u8cbc\u3063\u3066\u304f\u308c\u3066\u3044\u305f\u308a\u3001 \u307e\u3041\u8272\u3093\u306a\u9055\u3044\u304c\u3042\u308b\uff08\u6295\u3052\u3084\u308a\uff09\u3002 \u3067\u3001\u6700\u8fd1\u3044\u3058\u3063\u3066\u3044\u305f\u3042\u308b\u30b3\u30fc\u30c9\u304c\u3042\u308b\u3002 public void [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4],"tags":[],"class_list":["post-124","post","type-post","status-publish","format-standard","hentry","category-c","category-programming"],"_links":{"self":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts\/124","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=124"}],"version-history":[{"count":2,"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions"}],"predecessor-version":[{"id":436,"href":"http:\/\/the-takeo.com\/index.php?rest_route=\/wp\/v2\/posts\/124\/revisions\/436"}],"wp:attachment":[{"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/the-takeo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}