﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Get Field data type</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 17:20:41 GMT</lastBuildDate><ttl>20</ttl><item><title>Get Field data type</title><link>http://forum.strataframe.net/FindPost6495.aspx</link><description>Hi,&lt;br&gt;
Anyway to retrieve field data type of current control bounded to?</description><pubDate>Thu, 01 Feb 2007 13:18:28 GMT</pubDate><dc:creator>Chan</dc:creator></item><item><title>RE: Get Field data type</title><link>http://forum.strataframe.net/FindPost6501.aspx</link><description>Use reflection.&amp;nbsp; If you are referencing the control which has a field bound to it, you can get the field name from the BindingField property.&amp;nbsp; If you know this you can get the data type a number of different ways.&amp;nbsp; For example, you can reference the column within the CurrentDataTable.&lt;/P&gt;&lt;P&gt;[codesnippet]MyBO.CurrentRow.Item(MyTextBox.BindingField).GetType()[/codesnippet]</description><pubDate>Thu, 01 Feb 2007 13:18:28 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>