{"id":285,"date":"2007-05-08T20:36:24","date_gmt":"2007-05-08T19:36:24","guid":{"rendered":"http:\/\/www.galhano.com\/blog\/?p=285"},"modified":"2008-02-07T18:36:13","modified_gmt":"2008-02-07T17:36:13","slug":"convert-int16-to-bool","status":"publish","type":"post","link":"http:\/\/galhano.com\/blog\/?p=285","title":{"rendered":"Convert Int16 to Bool"},"content":{"rendered":"<p>Convertendo um campo do tipo Int16 para Boolean em ASP.NET no ficheiro aspx ou ascx, para poder ser usado numa CheckBox, podemos utilizar o seguinte c\u00c3\u00b3digo:<\/p>\n<blockquote><p>\n<%# Convert.ToBoolean((DataBinder.Eval(Container.DataItem, \"myInt16value\")) )%>\n<\/p><\/blockquote>\n<p><!--42a4c205bae911a1c352d21e8e31a1e0--><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Convertendo um campo do tipo Int16 para Boolean em ASP.NET no ficheiro aspx ou ascx, para poder ser usado numa CheckBox, podemos utilizar o seguinte c\u00c3\u00b3digo:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"close","ping_status":"close","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33,4,1],"tags":[],"class_list":["post-285","post","type-post","status-publish","format-standard","hentry","category-code-snippets","category-aspnet","category-uncategorized","author-admin"],"_links":{"self":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/285","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=285"}],"version-history":[{"count":0,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/285\/revisions"}],"wp:attachment":[{"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=285"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=285"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/galhano.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=285"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}