Hi,
Please make sure that u r using DataGrid COntrol instead of DataGridView Control..
if u r using DataGrid COntrol , below is the code..
<pre lang="c#">
System.Windows.Forms.DataGrid dgDetails = new DataGrid();
dataAdapter.Fill(ds, "article");
dgDetails.SetDataBinding(ds, "article");
if u using DataGridView control , then below is the code..
dgDetails.DataSource = ds.Tables["article"];
</pre>