How to Expose Column in DataTable
<p>I created class inherited from DataTable. I want to Expose the items like "Name" , "Number"</p>

<p>from the class.  Just like this </p>

<pre><code>class MyClass : DataTable
{
  [Column]
  Name

  [Column]
   Number
}
</code></pre>

<p>so that i can access like row["Name"] = "some";</p>

<p>and i going to use this data table as DataSource to Crystal Report. ( ie from Data menu->Add new DataSource --> object  and select the appropriate class and this will display the Name and Number which i can add to crystal report at design time)</p>

<p>How to achieve this.</p>
