Get DataTable values from code behind to client side using javascript
<p>I need help on getting a particular datatable values from the server to the client using javascript. </p>

<p>Ex. 
In my class which is Countries.aspx.cs I have this somewhere on my code say on the page load.</p>

<pre><code>DataTable dtbCountries = Repository.GetAllCountries;
</code></pre>

<p>my dtbCountries now contains this record</p>

<pre><code>ID  Country
1   HongKong
2   Japan
3   Korea
</code></pre>

<p>In my webform I want to get the values of my dtbCountries using javascript</p>

<pre><code>&lt;script type="text/javascript"&gt;
   // my code here to get the dtbCountries values
&lt;/script&gt;
</code></pre>

<p>What should I do? Or what's the best thing to do to expose my dtbCountries in the client.</p>

<p>Thanks in advance!</p>
