{"id":1165,"date":"2014-10-29T16:56:33","date_gmt":"2014-10-29T16:56:33","guid":{"rendered":"https:\/\/ibex.tech\/visualcpp\/?p=1165"},"modified":"2022-02-17T06:24:03","modified_gmt":"2022-02-17T06:24:03","slug":"datagridviewcheckboxcolumn","status":"publish","type":"post","link":"https:\/\/ibex.tech\/visualcpp\/datagridview\/datagridviewcheckboxcolumn","title":{"rendered":"DataGridViewCheckBoxColumn"},"content":{"rendered":"<h4>\nSetting State Programatically<br \/>\n<\/h4>\n<pre>\r\n<code>\r\ndataGridView1-&gt;Rows[Count]->Cells[COL_MAY_EXPORT]-&gt;Value = System::Windows::Forms::CheckState::Checked;\r\n<\/code><\/pre>\n<h4>\nReading State<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\tif (Convert::ToBoolean(dataGridView1-&gt;Rows[0]->Cells[3]-&gt;Value))\r\n<\/code><\/pre>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Setting State Programatically dataGridView1-&gt;Rows[Count]->Cells[COL_MAY_EXPORT]-&gt;Value = System::Windows::Forms::CheckState::Checked; Reading State if (Convert::ToBoolean(dataGridView1-&gt;Rows[0]->Cells[3]-&gt;Value)) &nbsp;<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[75],"tags":[],"class_list":["post-1165","post","type-post","status-publish","format-standard","hentry","category-datagridview"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1165","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/comments?post=1165"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1165\/revisions"}],"predecessor-version":[{"id":1174,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/posts\/1165\/revisions\/1174"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/media?parent=1165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/categories?post=1165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/visualcpp\/wp-json\/wp\/v2\/tags?post=1165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}