Sure, if you are using Visual Studio 2008... click on the "View" menu, then "Server Explorer", right-click on "Data Connections" in the window that appears (see left side of the attached image), then "Add Connection...".
Fill out the connection dialog and hit the "Test Connection" button to make sure you can hit your database okay... once you've done that, you can explore your database and follow the tutuorial I linked to before... Good luck!
thanks but i know that,
i want attach my database but not for me ,no , i want that when i make deploiment in load of form the database must attached ,not for me but for the user who work with my application
I'm old school... so I honestly don't use Linq too much for data access, I'm still just writing my own data classes using OleDB to handle everything... but... I can tell you that what you will need is to create the appropriate connection string to connect to your database, and you'll have to assign that connection string to your linq object... in the DataContext constructor from what I've read thus far.
Again, sorry for the confusion... now maybe somebody who uses Linq as your are can chime in with the definitive for you... good luck!