linq to gridview not working

Posted by Dipu710646 under Regular Expressions on 1/10/2011 | Points: 10 | Views : 1283 | Status : [Member] | Replies : 4
Hi All,

I have my own sql server database not northwind which contains my own table.

How will I connect these custom database to linq.

Any reply appreciated.

Thanks,
Dipankar




Responses

Posted by: Karthikanbarasan on: 1/10/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Can you brief your question?

Are you want to use LINQ to SQL for your DB?


Thanks
Karthik
www.f5Debug.net

Dipu710646, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suresh.mekkattil on: 1/10/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi,

I think you need to connect to the database using LinQ. For that you need to create a edmx file for the Linq entities.

You can go to Projects>Add New Item>"Ado.Net Entity Model". This will create a .edmx file which will be containing all the entity class for your tables.

please feel free to contact for any doubts

-----
Suresh M

Dipu710646, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Dipu710646 on: 1/11/2011 [Member] Starter | Points: 25

Up
0
Down
do u guys have a tutorial video for beginers for the same..?

Cheers,
Dipankar

Dipu710646, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Karthikanbarasan on: 1/11/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi,

Please let us know ur requirement so that we can guide you properly...

Thanks
Karthik
www.f5Debug.net

Dipu710646, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response