Click here to Skip to main content
Click here to Skip to main content

LINQ FAQ: Part 2

By , 28 Jul 2009
 
CRUD.zip
LINQCrudWithEntities
LINQCrudWithEntities
App_Data
Sales.mdf
Sales_log.LDF
bin
LINQCrudWithEntities.dll
LINQtoSQLStoredProc.dll
LINQCrudWithEntities.csproj.user
LINQCrudWithEntities
App_Data
Sales.mdf
Sales_log.LDF
bin
LINQCrudWithEntities.dll
LINQtoSQLStoredProc.dll
LINQCrudWithEntities.csproj.user
obj
Debug
TempPE
Properties
obj
Debug
TempPE
Properties
LINQtoSQLStoredProc.zip
LINQtoSQLStoredProc
LINQtoSQLStoredProc
App_Data
Sales.mdf
Sales_log.LDF
bin
LINQtoSQLStoredProc.dll
LINQtoSQLStoredProc.csproj.user
obj
Debug
TempPE
Properties
OneMany.zip
LINQtoSQL
SimpleLinqExample
App_Data
Sales.mdf
Sales_log.LDF
bin
SimpleLinqExample.dll
obj
Debug
TempPE
Properties
SimpleLinqExample.csproj.user
Optimizing_LINQ.zip
SimpleLinqExample.dll
SimpleLinqExample.csproj.user
SQL
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SimpleLinqExample._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
    </div>
    <asp:Button ID="cmdSimpleLINQtoSQL" runat="server" 
        onclick="cmdSimpleLINQtoSQL_Click" Text="SimpleLINQtoSQL" />
    <br />
    <br />
    <asp:Button ID="SimpleLINQtoSQlWithQuery" runat="server" 
        onclick="SimpleLINQtoSQlWithQuery_Click" Text="SimpleLINQtoSQlWithQuery" />
    <asp:TextBox ID="txtCustomerCode" runat="server" Width="220px">Enter Customer Code here</asp:TextBox>
    <br />
    <br />
    <asp:Button ID="SimpleLINQtoSQlWithSetGet" runat="server" 
        onclick="SimpleLINQtoSQlWithSetGet_Click" Text="SimpleLINQtoSQlWithSetGet" />
    <br />
    <br />
    <asp:Button ID="LINQtoSQLrelationShipEntitySetAndEntityRef" runat="server" 
        onclick="LINQtoSQLrelationShip_Click" 
        Text="LINQtoSQLrelationShipEntitySetAndEntityRef" />
    <br />
    <br />
    </form>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of use and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Shivprasad koirala
Architect http://www.questpond.com
India India
Member

I am a Microsoft MVP for ASP/ASP.NET and currently a CEO of a small
E-learning company in India. We are very much active in making training videos ,
writing books and corporate trainings. Do visit my site for 
.NET, C# , design pattern , WCF , Silverlight
, LINQ , ASP.NET , ADO.NET , Sharepoint , UML , SQL Server  training 
and Interview questions and answers


Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 29 Jul 2009
Article Copyright 2009 by Shivprasad koirala
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid