sql query in the SqlDataAdapter()
<p>Im using c# .net windows form application. I have loaded names of all the tables present in a database into a combobox.</p>

<p>Now i need to display the contents of the selected table name.</p>

<p>Normally we use</p>

<p>SqlDataAdapter adp= new SqlDataAdapter("Select * from employee", con);</p>

<p>This works fine. but instead of explicitly giving table name  i.e employee
i need to set it to combobox1.selected item.</p>

<p>I have given like this its not working:
string filename= combobox1.selecteditem;
SqlDataAdapter adp= new SqlDataAdapter("Select * from filename", con);</p>

<p>How can I select filename dynamically?</p>
