I am newbie in C#. I created a database by right clicking on the project in solution explorer and by selecting add new item then selecting database. Database name is SAMP and it has a table called Account. can somebody tell me how to connect to this database and display the contents of Account table in a gridview control through coding. Not in Design. I am trying this for a long time but could not. Pls Help me. I am using VS2008 and SqlExpress 2005.