getting schema for a table
<p>look at this code :</p>

<blockquote>
<pre><code>public void GetScheme4Table(string tableName)
{
    OleDbConnection conn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=|DataDirectory|\\" + DdListDatabases4GettingTables.SelectedValue + ".mdb;Persist Security Info=True");
    conn.Open();
    DataTable schemaTable = conn.GetOleDbSchemaTable(OleDbSchemaGuid.Tables,
                                                     new object[] { null, null, null, tableName });
    GridViewTablesScheme.DataSource = schemaTable;
    GridViewTablesScheme.DataBind();
    conn.Close();  
}
</code></pre>
</blockquote>

<p>There is no rows in the schema data table how I can solve this ?</p>

<p>I want to get schema for my table and show in the gridview.</p>
