3. After this below screen will be open…
Click on Server Explorer or press short key Ctrl+ALT+S
Go to Data Connection => Your database => tables
4. And just drag and drop the table in window.
That’s it. If your class name is CD use CDDataContext object to connect with database.
In my case my class name is CD so I make object of CDDataContext for database connection. And it
appears at: