select a database and in that select tables. using c# . use web config

Posted by syedsaleemss on Stack Overflow See other posts from Stack Overflow or by syedsaleemss
Published on 2010-04-15T08:45:12Z Indexed on 2010/04/15 8:53 UTC
Read the original article Hit count: 190

Filed under:

Im using c# .net windows form application. I have many databases created using sql server Management studio 2005. Each database has several tables. i have a button, when clicked should allow me to select a database among several databases and in that database i want to select a single table. Later i need to display the contents of the selected table into a datagrid view.I came to know that it can be done using Webconfig. How can i acheive this?

It goes like this a) select a database b) In that database select a table c) display the contents into a datagridview.

© Stack Overflow or respective owner

Related posts about c#