{"id":341,"date":"2010-12-29T15:15:05","date_gmt":"2010-12-29T19:15:05","guid":{"rendered":"http:\/\/www.iowawebnet.com\/ein\/?p=341"},"modified":"2011-01-21T18:15:38","modified_gmt":"2011-01-21T22:15:38","slug":"currency-gridview-dataformatstring","status":"publish","type":"post","link":"https:\/\/www.iowawebnet.com\/ein\/2010\/12\/currency-gridview-dataformatstring\/","title":{"rendered":"Currency GridView DataFormatString"},"content":{"rendered":"<p>GridView &#8211;<strong><em> BoundField<\/em><\/strong> currency data string format:<\/p>\n<blockquote><p>DataFormatString=&#8221;{0:C}&#8221;<\/p><\/blockquote>\n<p>Here is GridView &#8211; <strong><em>TemplateField<\/em><\/strong> currency data string format:<\/p>\n<blockquote><p>&lt;%# FormatCurrency(Convert.ToString(Container.DataItem(&#8220;PayOffAmt&#8221;)))%&gt;<\/p><\/blockquote>\n<p><a rel=\"attachment wp-att-497\" href=\"http:\/\/www.iowawebnet.com\/ein\/?attachment_id=497\"><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-full wp-image-497\" title=\"Currency Data String Format\" src=\"http:\/\/www.iowawebnet.com\/ein\/wp-content\/uploads\/2010\/12\/ScreenShot132.gif\" alt=\"currency datastring\" width=\"477\" height=\"82\" srcset=\"https:\/\/www.iowawebnet.com\/ein\/wp-content\/uploads\/2010\/12\/ScreenShot132.gif 477w, https:\/\/www.iowawebnet.com\/ein\/wp-content\/uploads\/2010\/12\/ScreenShot132-300x51.gif 300w\" sizes=\"(max-width: 477px) 100vw, 477px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>GridView &#8211; BoundField currency data string format: DataFormatString=&#8221;{0:C}&#8221; Here is GridView &#8211; TemplateField currency data string format: &lt;%# FormatCurrency(Convert.ToString(Container.DataItem(&#8220;PayOffAmt&#8221;)))%&gt;<\/p>\n","protected":false},"author":35,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,17,16],"tags":[30,19,22,21],"class_list":["post-341","post","type-post","status-publish","format-standard","hentry","category-access","category-applications","category-net","tag-access-2","tag-asp-net","tag-programming","tag-visual-studio"],"_links":{"self":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/341"}],"collection":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/comments?post=341"}],"version-history":[{"count":21,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/341\/revisions"}],"predecessor-version":[{"id":506,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/posts\/341\/revisions\/506"}],"wp:attachment":[{"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/media?parent=341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/categories?post=341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.iowawebnet.com\/ein\/wp-json\/wp\/v2\/tags?post=341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}