{"blog_url":"https://gom.hatenablog.com/","blog_title":"gom68\u306e\u65e5\u8a18","author_name":"gom68","width":"100%","published":"2007-12-19 11:17:49","url":"https://gom.hatenablog.com/entry/20071219/1198030669","provider_name":"Hatena Blog","type":"rich","author_url":"https://blog.hatena.ne.jp/gom68/","provider_url":"https://hatena.blog","categories":["ASP",".NET"],"height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fgom.hatenablog.com%2Fentry%2F20071219%2F1198030669\" title=\"ASP.NET\u306e\u9023\u7d50\u5f0f\u5185\u3067\u306e\u6761\u4ef6\u5224\u5b9a - gom68\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"GridView\u3067\u30c7\u30fc\u30bf\u30d0\u30a4\u30f3\u30c9\u3057\u3066\u3001Eval\u5024\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u5408\u3002 \u7279\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306a\u3069\u3067\u9023\u7d50\u5f0f\u3092\u66f8\u3044\u3066\u3044\u308b\u6642\u306b\u3001 \u578b 'DBNull' \u304b\u3089\u578b 'Boolean' \u3078\u306e\u5909\u63db\u306f\u7121\u52b9\u3067\u3059\u3002\u3068\u3044\u3046\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3068\u304d\u304c\u3002DBNull\u306e\u5834\u5408\u306f\u4ed6\u306e\u5024\u3092\u8868\u793a\u3055\u305b\u305f\u3044\uff01 \u305d\u3093\u306a\u3068\u304d\u3001if\u306f\u4f7f\u3048\u306a\u3044\u3051\u308c\u3069\u3001\u4e09\u9805\u6f14\u7b97\u5b50\u304c\u4f7f\u3048\u308b\u307f\u305f\u3044\u3002 \u4e0b\u306e\u4f8b\u306f\u3001Null\u306e\u5834\u5408\u306bFalse\u3092\u8fd4\u3059\u3002 VB.NET IIF(Eval(\"hoge\"), False, Eval(\"hoge\")) C# (Eval(\"hoge\") == System.DBNull)? False: Eval(\"hoge\") \u8907\u6570\u306e\u7b87\u6240\u3067\u66f8\u304f\u5834\u5408\u306b\u306f\u3001\u30e1\u30bd\u2026","title":"ASP.NET\u306e\u9023\u7d50\u5f0f\u5185\u3067\u306e\u6761\u4ef6\u5224\u5b9a","image_url":null,"version":"1.0"}