i am a noobie and starting to learn vb2010...can anyone please post a simple code on how to connect sql server to forms, and also retrieving files from database to txtbox....please help me...tnx...