Hai iam a new one to vb.net but i have done a project in it.that is front office management system. but we done the data connections(sql server) through the builtin methods ie from data menu in the toolbar add datasource through this... now i need two information 1-how to connect database through codings..
2-eg:now i complete my project in my system using dataconnection now i want to run that project in my friend's home its runs but the database connetion not works. what can i do for that... pls give me this answer because iam helpless... thank u...

Welcome Manjunath.G,
>but the database connetion not works. what can i do for that..?
1. Look at connection string.
2. Verify that a database is installed or available.