i am designing a project in .net 4.0 using mvc3. my table name “logindata” is stored in sql server 2008. i want to access rows of that table in my project model class. So please suggest me what connction string i should use and where i should specify table name to access data from that table.?
Share
I highly suggest reading the LINQ to SQL tutorial by Scott Guthrie
LINQ to SQL is a very efficient and simple method for retrieving database data and placing it into easily-accessible pre-configured, adjustable business objects.
I think you will find it a good first step.